cryptix.test
Class TestSHA1
(package private) class TestSHA1
Tests the output of the SHA-1 message digest algorithm implementation
against certified pre-computed output for a given set of reference input.
Note there are three sets of conformance data for SHA-1:
"abc" and "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
and the million a's, from FIPS 180-1, below.
The other data is added to flesh it out, and because it has
seen a bit of history, but is not conformance data.
References:
- NIST FIPS PUB 180-1,
"Secure Hash Standard",
U.S. Department of Commerce, 17 April 1995.
http://www.itl.nist.gov/div897/pubs/fip180-1.htm
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.8 $
protected void | engineTest()- This method should be overridden by test subclasses, to perform the
actual testing.
|
static void | main(String[] args)
|
commandline, commandline, describeOptions, describeUsage, engineTest, error, error, error, fail, getErrors, getExpectedPasses, getFailures, getName, getPasses, getSkipped, init, isGuiEnabled, isOverallPass, isVerbose, parseOption, parseOptions, pass, passIf, report, setExpectedPasses, setGuiEnabled, setName, setOutput, setVerbose, skip, test, waitForExit |
engineTest
protected void engineTest()
throws Exception This method should be overridden by test subclasses, to perform the
actual testing.
- engineTest in interface BaseTest
main
public static void main(String[] args)