MD5Init Function (ROM Call 0x254)

rsa.h

void MD5Init (MD5_CTX *context);

Initializes Message-Diggest context for usage in MD5 algorithm.

MD5Init begins a MD5 Message-Diggest Algorithm, i.e. fills the MD5_CTX structure pointed to by context with necessary data. MD5 is the algorithm which 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 (see BN for more info about how RSA works).