freebsd-nq/sbin/md5/tests/sha1.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
448 B
Plaintext

SHA1 (1.inp) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (2.inp) = 86f7e437faa5a7fce15d1ddcb9eaeaea377667b8
SHA1 (3.inp) = a9993e364706816aba3e25717850c26c9cd0d89d
SHA1 (4.inp) = c12252ceda8be8994d5fa0290a47231c1d16aae3
SHA1 (5.inp) = 32d10c7b8cf96570ca04ce37f2a19d84240d3a89
SHA1 (6.inp) = 761c457bf73b14d27e9e9265c46f4b4dda11f940
SHA1 (7.inp) = 50abf5706a150990a08b2c5ea40fa0e585554732
SHA1 (8.inp) = 18eca4333979c4181199b7b4fab8786d16cf2846