A B C D E H I O P R U W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBytes - Class in com.github.glusk.caesar
-
This class provides a skeletal implementation of the
Bytesinterface to minimize the effort required to implement this interface. - AbstractBytes() - Constructor for class com.github.glusk.caesar.AbstractBytes
- asArray() - Method in interface com.github.glusk.caesar.Bytes
-
Returns
thisbyte sequence as an array. - asArray() - Method in class com.github.glusk.caesar.cipher.RC4InitialState
-
Returns
thisbyte sequence as an array. - asArray() - Method in class com.github.glusk.caesar.hashing.BlockSizedHmacKey
- asArray() - Method in class com.github.glusk.caesar.hashing.Hash
-
Performs hashing of the
argumentspassed through the constructor and returns the result as a byte array. - asArray() - Method in class com.github.glusk.caesar.hashing.Hmac
- asArray() - Method in class com.github.glusk.caesar.Hex
- asArray() - Method in class com.github.glusk.caesar.PlainText
- asArray() - Method in class com.github.glusk.caesar.Xor
- asHexString() - Method in interface com.github.glusk.caesar.Bytes
-
Encodes this byte sequence as a hex string and returns it.
B
- BlockSizedHmacKey - Class in com.github.glusk.caesar.hashing
-
A block-sized HMAC Key (
K'). - BlockSizedHmacKey(ImmutableMessageDigest, Bytes, int) - Constructor for class com.github.glusk.caesar.hashing.BlockSizedHmacKey
-
Creates a new block-sized HMAC Key (
K'). - Bytes - Interface in com.github.glusk.caesar
-
The Caesar library type that represents an immutable sequence of bytes.
C
- com.github.glusk.caesar - module com.github.glusk.caesar
-
The Caesar library Java 9 module.
- com.github.glusk.caesar - package com.github.glusk.caesar
-
Caesar top level package.
- com.github.glusk.caesar.cipher - package com.github.glusk.caesar.cipher
-
Caesar cipher utilities package.
- com.github.glusk.caesar.hashing - package com.github.glusk.caesar.hashing
-
Caesar hashing utilities package.
D
- digest() - Method in class com.github.glusk.caesar.hashing.ImmutableMessageDigest
-
Computes and returns the hash value value that is the result of
thisImmutableMessageDigest object.
E
- equals(Object) - Method in class com.github.glusk.caesar.AbstractBytes
-
Returns
trueif and only ifthisandobjare both byte sequence objects andthis.asArray()element-wise equals((Bytes) obj).asArray(). - equals(Object) - Method in interface com.github.glusk.caesar.Bytes
-
Returns
trueif and only ifthisandobjare both byte sequence objects andthis.asArray()element-wise equals((Bytes) obj).asArray().
H
- Hash - Class in com.github.glusk.caesar.hashing
-
A byte sequence that is the result of a hashing operation.
- Hash(ImmutableMessageDigest, Bytes...) - Constructor for class com.github.glusk.caesar.hashing.Hash
-
Creates a new Hash instance by specifying the ImmutableMessageDigest instance that will perform the hashing, and a list of
argumentsto hash. - hashCode() - Method in class com.github.glusk.caesar.AbstractBytes
-
Returns the hash code value for this byte sequence.
- hashCode() - Method in interface com.github.glusk.caesar.Bytes
-
Returns the hash code value for this byte sequence.
- Hex - Class in com.github.glusk.caesar
-
A hexadecimal encoded byte sequence.
- Hex(String) - Constructor for class com.github.glusk.caesar.Hex
-
Constructs a new byte sequence from
hexString. - Hmac - Class in com.github.glusk.caesar.hashing
-
HMAC - Hash-based message authentication code.
- Hmac(ImmutableMessageDigest, int, Bytes, Bytes) - Constructor for class com.github.glusk.caesar.hashing.Hmac
-
Creates a new HMAC with specified block size.
- Hmac(ImmutableMessageDigest, Bytes, Bytes) - Constructor for class com.github.glusk.caesar.hashing.Hmac
-
Creates a new HMAC with default block size.
I
- ImmutableCipher - Interface in com.github.glusk.caesar.cipher
-
An Immutable Cipher.
- ImmutableMessageDigest - Class in com.github.glusk.caesar.hashing
-
A
java.security.MessageDigestfunctionality extension that allows for method chaining and is immutable. - ImmutableMessageDigest(MessageDigest) - Constructor for class com.github.glusk.caesar.hashing.ImmutableMessageDigest
-
Creates a
newImmutableMessageDigest object by wrapping an existingmessageDigestinstance.
O
- output() - Method in interface com.github.glusk.caesar.cipher.ImmutableCipher
-
Returns the output of
thisImmutableCipher. - output() - Method in class com.github.glusk.caesar.cipher.RC4
P
- PlainText - Class in com.github.glusk.caesar
-
A byte sequence constructed from plain text.
- PlainText(String) - Constructor for class com.github.glusk.caesar.PlainText
-
Creates a new byte sequence from an
utf8String. - PlainText(String, Charset) - Constructor for class com.github.glusk.caesar.PlainText
-
Creates a new byte sequence from a
stringwith the specifiedcharset.
R
- RC4 - Class in com.github.glusk.caesar.cipher
-
An RC4 Cipher implementation.
- RC4(Bytes) - Constructor for class com.github.glusk.caesar.cipher.RC4
-
Create a new RC4 Cipher by providing the
keyto initialize the internal cipher state. - RC4InitialState - Class in com.github.glusk.caesar.cipher
-
An RC4 Initial State.
- RC4InitialState(Bytes) - Constructor for class com.github.glusk.caesar.cipher.RC4InitialState
-
Creates a new RC4 Initial State (S) with the specified
key. - reversed() - Method in interface com.github.glusk.caesar.Bytes
-
Returns a new byte sequence which contains elements of
thissequence in reverse order.
U
- update(byte[]) - Method in class com.github.glusk.caesar.hashing.ImmutableMessageDigest
-
Updates
thisImmutableMessageDigest with theargumentarray and returns the result as anewImmutableMessageDigest object. - update(byte[], int, int) - Method in class com.github.glusk.caesar.hashing.ImmutableMessageDigest
-
Updates
thisImmutableMessageDigest with the specified portion of theargumentarray and returns the result as anewImmutableMessageDigest object. - update(Bytes) - Method in interface com.github.glusk.caesar.cipher.ImmutableCipher
-
Creates and returns a new ImmutableCipher that's the result of processing
thisImmutableCipher withinputBytes. - update(Bytes) - Method in class com.github.glusk.caesar.cipher.RC4
-
Creates and returns a new ImmutableCipher that's the result of processing
thisImmutableCipher withinputBytes. - update(Bytes...) - Method in class com.github.glusk.caesar.hashing.ImmutableMessageDigest
-
Updates
thisImmutableMessageDigest withargumentsand returns the result as anewImmutableMessageDigest object.
W
- wrapped(byte...) - Static method in interface com.github.glusk.caesar.Bytes
-
Wraps an arbitrary number of bytes into a new byte sequence and returns it.
X
- Xor - Class in com.github.glusk.caesar
-
A byte sequence that is a result of an xor operation.
- Xor(Bytes...) - Constructor for class com.github.glusk.caesar.Xor
-
Creates a new xor operation from a variable arguments list.
All Classes All Packages