Class AESLean
java.lang.Object
com.coderslagoon.crypto.estreamj.ciphers.aes.AES
com.coderslagoon.crypto.estreamj.ciphers.aes.AESLean
memory efficient AES implementation; based on the work of Brian Gladman's
optimizations and C code and the Bouncy Castle translation to Java; the
class files' size went down to 2/3 of the original size (even after splitting
of the shared base class); it is still faster since some unnecessary [>> &]
operations have been taken out and got replaced with [>>>]
-
Field Summary
Fields inherited from class com.coderslagoon.crypto.estreamj.ciphers.aes.AES
BLOCK_SIZE, C0, C1, C2, C3, forEncryption, m1, m2, m3, rcon, ROUNDS, S, Si, workingKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voiddecryptBlock(int[][] KW) protected voidencryptBlock(int[][] KW) Methods inherited from class com.coderslagoon.crypto.estreamj.ciphers.aes.AES
erase, FFmulX, generateWorkingKey, init, inv_mcol, mcol, processBlock, shift, subWord
-
Constructor Details
-
AESLean
public AESLean()
-
-
Method Details
-
encryptBlock
protected void encryptBlock(int[][] KW) - Specified by:
encryptBlockin classAES
-
decryptBlock
protected final void decryptBlock(int[][] KW) - Specified by:
decryptBlockin classAES
-