Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

Acme.Crypto.Cipher Class Reference

Inheritance diagram for Acme.Crypto.Cipher:

Acme.Crypto.CryptoUtils Acme.Crypto.BlockCipher Acme.Crypto.StreamCipher Acme.Crypto.BlowfishCipher Acme.Crypto.CbcBlockCipher Acme.Crypto.IdeaCipher Acme.Crypto.NullCipher List of all members.

Detailed Description

An encryption template.

Definition at line 43 of file Cipher.java.

Public Member Functions

 Cipher (int keySize)
 Constructor.
int keySize ()
 Return how big a key is.
abstract void setKey (byte[] key)
 Set the key from a block of bytes.
void setKey (String keyStr)
 Utility routine to set the key from a string.
byte[] makeKey (String keyStr)
 Utility routine to turn a string into a key of the right length.

Public Attributes

int keySize
 How big a key is. Keyless ciphers use 0. Variable-length-key ciphers.


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:36 2005 for OpenMobileIS by  doxygen 1.4.4