|
md5, SHA and php's mcrypt function
Does anyone know how the php mcrypt function compares to md5 and SHA in terms of being secure?
Using md5 and sha with PHP is a pain because they are 1 way functions(I think).
Has anyone used or know anything about the mcrypt? Also, is it secure enough for sensitive data? I understand while using apache, data in transmit requires -ssl to be secure. Everything i've read makes the mcrypt function sound really nice, but i never see/hear it mentioned with things like md5 and sha. (They could be completely different and I wouldnt understand how really. I'm really just refering to the having the md5 or sha sum vs the mcrypt output. )
Any input is appreciated.
|