Page 1 of 1

md5();

Posted: Thu Aug 08, 2002 6:36 pm
by learning_php_mysql
ok so you always hear about 32bit incryption and 64bit encryption

well... what 'bit' of encryption is md5();?

thanks

128bit

Posted: Thu Aug 08, 2002 7:30 pm
by Geschi
From the md5 algorithm description:
The algorithm takes as input a message of arbitrary length and produces
as output a 128-bit "fingerprint" or "message digest" of the input.
It is conjectured that it is computationally infeasible to produce
two messages having the same message digest, or to produce any
message having a given prespecified target message digest. The MD5
algorithm is intended for digital signature applications, where a
large file must be "compressed" in a secure manner before being
encrypted with a private (secret) key under a public-key cryptosystem
such as RSA.

The MD5 algorithm is designed to be quite fast on 32-bit machines. In
addition, the MD5 algorithm does not require any large substitution
tables; the algorithm can be coded quite compactly.

Hope this helps.

For more information see:
http://www.faqs.org/rfcs/rfc1321.html

Posted: Thu Aug 08, 2002 9:20 pm
by learning_php_mysql
it does tahnks a bunch :-d