| java.lang.Object Acme.Crypto.CryptoUtils Acme.Crypto.Cipher Acme.Crypto.BlockCipher Acme.Crypto.AesCipher
Method Summary | |
public void | decrypt(byte[] cipherText, int cipherOff, byte[] clearText, int clearOff) | public void | encrypt(byte[] clearText, int clearOff, byte[] cipherText, int cipherOff) | public static int | getRounds(int keySize, int blockSize) | public static void | main(String[] args) | final static int | mul(int a, int b) | final static int | mul4(int a, byte[] b) | public void | setKey(byte[] key) |
BLOCK_SIZE | final public static int BLOCK_SIZE(Code) | | |
KEY_SIZE | final public static int KEY_SIZE(Code) | | |
AesCipher | public AesCipher(byte[] key)(Code) | | |
decrypt | public void decrypt(byte[] cipherText, int cipherOff, byte[] clearText, int clearOff)(Code) | | |
encrypt | public void encrypt(byte[] clearText, int clearOff, byte[] cipherText, int cipherOff)(Code) | | |
getRounds | public static int getRounds(int keySize, int blockSize)(Code) | | |
mul | final static int mul(int a, int b)(Code) | | |
mul4 | final static int mul4(int a, byte[] b)(Code) | | |
setKey | public void setKey(byte[] key)(Code) | | |
Fields inherited from Acme.Crypto.BlockCipher | public int blockSize(Code)(Java Doc)
|
Methods inherited from Acme.Crypto.BlockCipher | public int blockSize()(Code)(Java Doc) abstract public void decrypt(byte[] cipherText, int cipherOff, byte[] clearText, int clearOff)(Code)(Java Doc) public void decrypt(byte[] cipherText, byte[] clearText)(Code)(Java Doc) abstract public void encrypt(byte[] clearText, int clearOff, byte[] cipherText, int cipherOff)(Code)(Java Doc) public void encrypt(byte[] clearText, byte[] cipherText)(Code)(Java Doc)
|
Methods inherited from Acme.Crypto.CryptoUtils | public static void copyBlock(byte[] src, int srcOff, byte[] dst, int dstOff, int len)(Code)(Java Doc) public static void copyBlock(byte[] src, byte[] dst)(Code)(Java Doc) public static boolean equalsBlock(byte[] a, int aOff, byte[] b, int bOff, int len)(Code)(Java Doc) public static boolean equalsBlock(byte[] a, byte[] b)(Code)(Java Doc) public static void fillBlock(byte[] block, int blockOff, byte b, int len)(Code)(Java Doc) public static void fillBlock(byte[] block, byte b)(Code)(Java Doc) public static void randomBlock(byte[] block, int off, int len)(Code)(Java Doc) public static void randomBlock(byte[] block)(Code)(Java Doc) public static void spreadIntsToBytes(int[] inInts, int inOff, byte[] outBytes, int outOff, int intLen)(Code)(Java Doc) public static void spreadIntsToBytesLittle(int[] inInts, int inOff, byte[] outBytes, int outOff, int intLen)(Code)(Java Doc) public static void spreadShortsToBytes(int[] inShorts, int inOff, byte[] outBytes, int outOff, int shortLen)(Code)(Java Doc) public static void spreadShortsToBytesLittle(int[] inShorts, int inOff, byte[] outBytes, int outOff, int shortLen)(Code)(Java Doc) public static void squashBytesToInts(byte[] inBytes, int inOff, int[] outInts, int outOff, int intLen)(Code)(Java Doc) public static void squashBytesToIntsLittle(byte[] inBytes, int inOff, int[] outInts, int outOff, int intLen)(Code)(Java Doc) public static void squashBytesToShorts(byte[] inBytes, int inOff, int[] outShorts, int outOff, int shortLen)(Code)(Java Doc) public static void squashBytesToShortsLittle(byte[] inBytes, int inOff, int[] outShorts, int outOff, int shortLen)(Code)(Java Doc) public static String toStringBlock(byte[] block, int off, int len)(Code)(Java Doc) public static String toStringBlock(byte[] block)(Code)(Java Doc) public static void xorBlock(byte[] a, int aOff, byte[] b, int bOff, byte[] dst, int dstOff, int len)(Code)(Java Doc) public static void xorBlock(byte[] a, byte[] b, byte[] dst)(Code)(Java Doc) public static void zeroBlock(byte[] block, int off, int len)(Code)(Java Doc) public static void zeroBlock(byte[] block)(Code)(Java Doc)
|
|
|