This validation function tests the C implementation of the SHA1 encryption for the following strings:
"abc"
""
(an empty string)
"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
"1.23e+4"
"a"
repeated a million consecutive times
If the encrypted strings are identical to the expected (known) encryption
results, the cmpAll
boolean variable will be true
.