cryptix.test

Class TestHMAC

public class TestHMAC extends BaseTest

Tests the output of the HMAC message authentication code implementation against certified pre-computed output for a given set of reference input.

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

$Revision: 1.4 $

Author: David Hopwood

Method Summary
protected voidengineTest()
Test using the data from RFC 2202.
static voidmain(String[] args)

Method Detail

engineTest

protected void engineTest()
Test using the data from RFC 2202. Note that this will fail if the MD5 or SHA-1 MessageDigest classes are incorrect.

main

public static void main(String[] args)