cryptix.test

Class TestSHA1

class TestSHA1 extends BaseTest

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:

  1. 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 $

Author: Systemics Ltd

Method Summary
protected voidengineTest()
static voidmain(String[] args)

Method Detail

engineTest

protected void engineTest()

main

public static void main(String[] args)