All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----is.hi.logir.cryptonite.Cryptonite
|
+----is.hi.logir.cryptonite.K
|
+----is.hi.logir.cryptonite.SymmetricKey
|
+----is.hi.logir.cryptonite.TriDESKey
The CDS for a triple-DES key is TriDESKey(key) to create a specific key
or TriDESKey(?) for a random TriDESKey object.
key[0..23].
Cryptonite.fromString(String) .
k.
public TriDESKey()
public TriDESKey(byte key[])
key[0..23].
public TriDESKey(String key) throws InvalidCDSException
Cryptonite.fromString(String) .
public int plainBlockSize()
public int cipherBlockSize()
public int getSize()
public String getAlgorithm()
public boolean equals(Object o)
k.
public byte[] getKey()
public String toString()
public void encrypt(byte source[],
int i,
byte dest[],
int j)
source[i..i+7] and ciphertext is written to
dest[j..j+7].
public void decrypt(byte source[],
int i,
byte dest[],
int j)
dest[i..i+7] and plaintext is written to
source[j..j+7].
All Packages Class Hierarchy This Package Previous Next Index