Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- BITS_128 - Enum constant in enum class edu.boisestate.lowry.crypto.KeySize
-
128-bit (16-byte) key
- BITS_192 - Enum constant in enum class edu.boisestate.lowry.crypto.KeySize
-
192-bit (24-byte) key
- BITS_256 - Enum constant in enum class edu.boisestate.lowry.crypto.KeySize
-
256-bit (32-byte) key
- BLOCK_SIZE_BYTES - Static variable in class edu.boisestate.lowry.crypto.RC6Cipher
-
The block size in bytes.
- blockCipher - Variable in class edu.boisestate.lowry.crypto.CTRMode
-
The underlying block cipher used.
- BlockCipher - Interface in edu.boisestate.lowry.crypto
-
Defines a cryptographic block cipher.
- blockSize - Variable in class edu.boisestate.lowry.crypto.CTRMode
-
The underlying block cipher's block size.
- bytesToRegisters(byte[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
-
Converts an array of bytes to an array of 32-bit registers (words).
C
- CTRMode - Class in edu.boisestate.lowry.crypto
-
An implementation of the Counter (CTR) mode of operation.
- CTRMode(BlockCipher) - Constructor for class edu.boisestate.lowry.crypto.CTRMode
-
Creates a CTRMode instance with the given block cipher as the underlying cipher.
D
- decipher(byte[], byte[]) - Method in interface edu.boisestate.lowry.crypto.BlockCipher
-
Deciphers a fixed-length block of ciphertext.
- decipher(byte[], byte[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
- decrypt(byte[], byte[]) - Method in class edu.boisestate.lowry.crypto.CTRMode
- decrypt(byte[], byte[]) - Method in interface edu.boisestate.lowry.crypto.SymmetricCipher
-
Decrypts the provided ciphertext using a symmetric key.
E
- edu.boisestate.lowry.crypto - package edu.boisestate.lowry.crypto
- encipher(byte[], byte[]) - Method in interface edu.boisestate.lowry.crypto.BlockCipher
-
Enciphers a fixed-length block of plaintext.
- encipher(byte[], byte[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
- encrypt(byte[], byte[]) - Method in class edu.boisestate.lowry.crypto.CTRMode
- encrypt(byte[], byte[]) - Method in interface edu.boisestate.lowry.crypto.SymmetricCipher
-
Encrypts the provided plaintext using a symmetric key.
G
- getBlockSize() - Method in interface edu.boisestate.lowry.crypto.BlockCipher
-
Returns the fixed block size this cipher operates on.
- getBlockSize() - Method in class edu.boisestate.lowry.crypto.RC6Cipher
I
- incrementBlock(byte[], int, int) - Method in class edu.boisestate.lowry.crypto.CTRMode
-
Increments a specific sub-block of the given bytes, treating it as an unsigned integer (big endian).
- initKey(byte[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
-
Preemptively calls the key schedule with the given key for the purpose of performing bulk encryption.
K
- keySchedule(byte[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
-
Derives 2r + 4 round keys from the given key, loaded into an array of 32-bit registers.
- keySize - Variable in class edu.boisestate.lowry.crypto.RC6Cipher
-
The key size, corresponding to the RC6 'b' parameter.
- KeySize - Enum Class in edu.boisestate.lowry.crypto
-
Represents the size for a symmetric secret key.
- KeySize(int) - Constructor for enum class edu.boisestate.lowry.crypto.KeySize
-
Internal constructor for KeySize presets.
N
- NUM_REGISTERS - Static variable in class edu.boisestate.lowry.crypto.RC6Cipher
-
The number of registers.
- NUM_ROUNDS - Static variable in class edu.boisestate.lowry.crypto.RC6Cipher
-
The number of rounds for encryption and decryption.
- numBytes - Variable in enum class edu.boisestate.lowry.crypto.KeySize
-
The key size in bytes.
R
- RC6Cipher - Class in edu.boisestate.lowry.crypto
-
An implementation of the RC6-32/20/b block cipher.
- RC6Cipher(KeySize) - Constructor for class edu.boisestate.lowry.crypto.RC6Cipher
-
Creates an instance of this cipher, configured for the given key size.
- registersToBytes(int[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
-
Converts an array of registers to an array of bytes in a little endian fashion.
- resetKey() - Method in class edu.boisestate.lowry.crypto.RC6Cipher
-
Resets the stored key to nothing.
- rotateRegistersLeft(int[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
-
Rotate/permute the registers to the left.
- rotateRegistersRight(int[]) - Method in class edu.boisestate.lowry.crypto.RC6Cipher
-
Rotate/permute the registers to the left.
- roundKeys - Variable in class edu.boisestate.lowry.crypto.RC6Cipher
-
The round keys S[0, ..., 2r + 3].
- runCTR(byte[], byte[], byte[]) - Method in class edu.boisestate.lowry.crypto.CTRMode
-
Runs the CTR operation on the given text, using a secret key and initial counter.
S
- SymmetricCipher - Interface in edu.boisestate.lowry.crypto
-
Defines a symmetric-key encryption/decryption scheme.
V
- valueOf(String) - Static method in enum class edu.boisestate.lowry.crypto.KeySize
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class edu.boisestate.lowry.crypto.KeySize
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values