demo.cipher
Class RC5

java.lang.Object
  |
  +--demo.cipher.RC5

public class RC5
extends Object

This class tests the correctness of the RC5 implementation.

Version:
File Revision 17

Constructor Summary
RC5()
           
 
Method Summary
static void main(String[] arg)
          Performs some tests for RC5.
 void start()
           
 boolean testMode(String algorithm, String mode, byte[] key, byte[] iv, byte[] plainData, byte[] cipherData, int rounds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RC5

public RC5()
Method Detail

testMode

public boolean testMode(String algorithm,
                        String mode,
                        byte[] key,
                        byte[] iv,
                        byte[] plainData,
                        byte[] cipherData,
                        int rounds)
                 throws Exception

start

public void start()

main

public static void main(String[] arg)
Performs some tests for RC5.

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK