freebsd-dev/sbin/md5/tests/md5.digest
Stefan Eßer 884fc5527a sbin/md5: add tests
While the correctness of the supported hash algorithms can be tested
with the built-in self-test feature, these test cases are meant to
detect changes in the output format.

A follow-up commit will	improve	the compatibility with the coreutils
versions of the hash programs, and these tests should detect any
unintended side-effects	of such	a change on existing functionality.
2021-06-25 08:51:40 +02:00

9 lines
376 B
Plaintext

MD5 (1.inp) = d41d8cd98f00b204e9800998ecf8427e
MD5 (2.inp) = 0cc175b9c0f1b6a831c399e269772661
MD5 (3.inp) = 900150983cd24fb0d6963f7d28e17f72
MD5 (4.inp) = f96b697d7cb7938d525a2f31aaf161d0
MD5 (5.inp) = c3fcd3d76192e4007dfb496cca67e13b
MD5 (6.inp) = d174ab98d277d9f5a5611c2c9f419d9f
MD5 (7.inp) = 57edf4a22be3c955ac49da2e2107b67a
MD5 (8.inp) = b50663f41d44d92171cb9976bc118538