IM::MD5(3pm) | Internet Message Perl modules | IM::MD5(3pm) |
IM::MD5 - MD5 message-digesting
use IM::MD5; $digest = &md5_str($text);
The IM::MD5 module handles MD5 message-digest algorithm.
This modules is provided by IM (Internet Message).
&md5_str("") returns d41d8cd98f00b204e9800998ecf8427e. &md5_str("a") returns 0cc175b9c0f1b6a831c399e269772661. &md5_str("abc") returns 900150983cd24fb0d6963f7d28e17f72. &md5_str("message digest") returns f96b697d7cb7938d525a2f31aaf161d0. &md5_str("abcdefghijklmnopqrstuvwxyz") returns c3fcd3d76192e4007dfb496cca67e13b. &md5_str("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") returns d174ab98d277d9f5a5611c2c9f419d9f. &md5_str("12345678901234567890123456789012345678901234567890123456789012345678901234567890") returns 57edf4a22be3c955ac49da2e2107b67a. % perl -MIM::MD5 -e 'IM::MD5::MD5_TEST()'
This modules is derived from md5.pl copyrighted by NAKAMURA, Motonori <motonori@econ.kyoto-u.ac.jp>. It is converted to Perl4 from C version derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm.
IM (Internet Message) is copyrighted by IM developing team. You can redistribute it and/or modify it under the modified BSD license. See the copyright file for more details.
2016-10-10 | IM153 |