All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----is.hi.logir.cryptonite.Cryptonite
|
+----is.hi.logir.cryptonite.EncryptMode
Most EncryptModes take us a CipherKey object to do actual encryption and do additional computations to mask repetitions in the plaintext.
length bytes from source,
starting at i and return the ciphertext.
encrypt(source,i,length)
followed by flush().
public EncryptMode()
public abstract CipherKey getKey()
public abstract void setKey(CipherKey key)
public abstract byte[] flush()
public byte[] flush(byte source[],
int i,
int length)
encrypt(source,i,length)
followed by flush().
public abstract byte[] encrypt(byte source[],
int i,
int length)
length bytes from source,
starting at i and return the ciphertext. Data may be
encrypted in blocks in which case only whole blocks of ciphertext
are written to dest. Any remaining data will be
stored and prepended to source in the next call to
encrypt.
All Packages Class Hierarchy This Package Previous Next Index