| java.lang.Object Acme.Crypto.CryptoUtils Acme.Crypto.Cipher Acme.Crypto.BlockCipher
All known Subclasses: Acme.Crypto.AesCipher, Acme.Crypto.NullCipher, Acme.Crypto.CbcBlockCipher,
BlockCipher | abstract public class BlockCipher extends Cipher (Code) | | |
Constructor Summary | |
public | BlockCipher(int keySize, int blockSize) |
Method Summary | |
public int | blockSize() | abstract public void | decrypt(byte[] cipherText, int cipherOff, byte[] clearText, int clearOff) | public void | decrypt(byte[] cipherText, byte[] clearText) | abstract public void | encrypt(byte[] clearText, int clearOff, byte[] cipherText, int cipherOff) | public void | encrypt(byte[] clearText, byte[] cipherText) |
blockSize | public int blockSize(Code) | | |
BlockCipher | public BlockCipher(int keySize, int blockSize)(Code) | | |
blockSize | public int blockSize()(Code) | | |
decrypt | abstract public void decrypt(byte[] cipherText, int cipherOff, byte[] clearText, int clearOff)(Code) | | |
decrypt | public void decrypt(byte[] cipherText, byte[] clearText)(Code) | | |
encrypt | abstract public void encrypt(byte[] clearText, int clearOff, byte[] cipherText, int cipherOff)(Code) | | |
encrypt | public void encrypt(byte[] clearText, byte[] cipherText)(Code) | | |
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)
|
|
|