cryptix.test

Class TestMD5


(package private) class TestMD5
extends BaseTest

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

Note there are seven sets of conformance data for MD5 listed in Appendix A.5 of the RFC, as indicated. Other data is sets picked up from other implementations.

References:

  1. Ronald L. Rivest, " The MD5 Message-Digest Algorithm", IETF RFC-1321 (informational).

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.7 $

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)