cryptix.test

Class TestSHA0


(package private) class TestSHA0
extends BaseTest

Tests the output of the SHA-0 message digest algorithm implementation against certified pre-computed output for a given set of reference input.

References:

  1. Jim Gillogly's Implementation, Was the source of the FIPS-180 validation data.
  2. NIST FIPS PUB 180, "Secure Hash Standard", U.S. Department of Commerce, 11 May 1993.
    Original reference is lost, but see the SHA-1 doc: 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.9 $

Author:
Systemics Ltd

Field Summary

Fields inherited from class cryptix.util.test.BaseTest

out, status

Method Summary

protected void
engineTest()
This method should be overridden by test subclasses, to perform the actual testing.
static void
main(String[] args)

Methods inherited from class cryptix.util.test.BaseTest

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

Method Details

engineTest

protected void engineTest()
            throws Exception
This method should be overridden by test subclasses, to perform the actual testing.
Overrides:
engineTest in interface BaseTest

main

public static void main(String[] args)