| java.lang.Object com.quadcap.crypto.AbstractSymmetricKey com.quadcap.crypto.Rijndael
Rijndael | public class Rijndael extends AbstractSymmetricKey implements SymmetricKey(Code) | | Rijndael --pronounced Reindaal-- is a symmetric cipher with a 128-bit
block size and variable key-size (128-, 192- and 256-bit).
Rijndael was designed by Vincent
Rijmen and Joan Daemen.
version: $Revision: 1.3 $ author: Raif S. Naffah author: Paulo S. L. M. Barreto (pbarreto@cryptix.org) author: Jeroen C. van Gelderen (gelderen@cryptix.org) author: Edwin Woudt (edwin@cryptix.org) since: Cryptix 3.1.3/3.2.0 |
KEYSIZE | final static int KEYSIZE(Code) | | |
keyBytes | byte[] keyBytes(Code) | | |
Rijndael | public Rijndael()(Code) | | Default constructor
|
coreInit | protected void coreInit(byte[] userKey, boolean decrypt) throws Exception(Code) | | |
decrypt | public void decrypt(ByteBuffer c, ByteBuffer m)(Code) | | Decrypt a buffer (must be a multiple of 8 bytes)
|
encrypt | public void encrypt(ByteBuffer m, ByteBuffer c)(Code) | | Encrypt a buffer (must be multiple of 8 bytes)
|
getBlockSize | public int getBlockSize()(Code) | | |
init | final void init(byte[] k)(Code) | | Initialize from key bytes
|
init | public void init(Random r)(Code) | | Initialize: Create a random key
|
toString | public String toString()(Code) | | Return the serialized form of the key
|
|
|