Annotation of embedaddon/php/ext/standard/tests/strings/md5raw.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: md5() with RAW output
3: --FILE--
4: <?php
5: echo bin2hex(md5("", TRUE))."\n";
6: echo bin2hex(md5("a", TRUE))."\n";
7: echo bin2hex(md5("abc", TRUE))."\n";
8: echo bin2hex(md5("message digest", TRUE))."\n";
9: echo bin2hex(md5("abcdefghijklmnopqrstuvwxyz", TRUE))."\n";
10: echo bin2hex(md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", TRUE))."\n";
11: echo bin2hex(md5("12345678901234567890123456789012345678901234567890123456789012345678901234567890", TRUE))."\n";
12: ?>
13: --EXPECT--
14: d41d8cd98f00b204e9800998ecf8427e
15: 0cc175b9c0f1b6a831c399e269772661
16: 900150983cd24fb0d6963f7d28e17f72
17: f96b697d7cb7938d525a2f31aaf161d0
18: c3fcd3d76192e4007dfb496cca67e13b
19: d174ab98d277d9f5a5611c2c9f419d9f
20: 57edf4a22be3c955ac49da2e2107b67a
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>