cryptix.test

Class TestMD2


(package private) class TestMD2
extends BaseTest

Tests the output of the MD2 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 MD2 listed in Appendix A.5 of the RFC, as indicated.

References:

  1. Burton S. Kaliski Jr, " The MD2 Message-Digest Algorithm", IETF RFC-1319 (informational).

$Revision: 1.5 $

Author:
Raif S. Naffah

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)