All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Crypto.Rc6Cipher

java.lang.Object
   |
   +----Acme.Crypto.CryptoUtils
           |
           +----Acme.Crypto.Cipher
                   |
                   +----Acme.Crypto.BlockCipher
                           |
                           +----Acme.Crypto.Rc6Cipher

public class Rc6Cipher
extends BlockCipher
The RC6 encryption method.

This was one of the finalists for the Advanced Encryption Standard.

Fetch the software.
Fetch the entire Acme package.

See Also:
EncryptedOutputStream, EncryptedInputStream

Constructor Index

 o Rc6Cipher(byte[])
 o Rc6Cipher(String)

Method Index

 o decrypt(byte[], int, byte[], int)
Decrypt a block.
 o encrypt(byte[], int, byte[], int)
Encrypt a block.
 o main(String[])
Test routine.
 o setKey(byte[])
Set the key.

Constructors

 o Rc6Cipher
 public Rc6Cipher(String keyStr)
 o Rc6Cipher
 public Rc6Cipher(byte key[])

Methods

 o setKey
 public void setKey(byte key[])
Set the key.

Overrides:
setKey in class Cipher
 o encrypt
 public void encrypt(byte clearText[],
                     int clearOff,
                     byte cipherText[],
                     int cipherOff)
Encrypt a block.

Overrides:
encrypt in class BlockCipher
 o decrypt
 public void decrypt(byte cipherText[],
                     int cipherOff,
                     byte clearText[],
                     int clearOff)
Decrypt a block.

Overrides:
decrypt in class BlockCipher
 o main
 public static void main(String args[])
Test routine.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs