|
Posted by Alvaro G Vicario on 10/14/99 11:24
*** Greger wrote/escribió (Thu, 18 Aug 2005 14:21:42 +0200):
> Im quite comfortable with php but new to encryption, could someone please
> highlight when encryption would be a good thing.
>
> Also:is there a reverse of the md5 function? ( in other words in what way is
> md5 ( + the others sha...)used?
MD5 is a hash that's normally displayed as a 32 character string. That
means that even the MD5 hash of a 2GB files is 32 byte long: if it was
reversable we would have found the most amazing compression algorithm ;-)
Encryption can be rather complicate. I suggest you first define your needs
and then find solutions for them.
Hashes have several usages:
* Test file integrity
* Password storage (you cannot decrypt passwords, yet you can encrypt the
value provided by user and compare)
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Navigation:
[Reply to this message]
|