A B C D E H I P R U W X 
All Classes All Packages

A

AbstractBytes - Class in com.github.glusk.caesar
This class provides a skeletal implementation of the Bytes interface 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 this byte 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 arguments passed 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.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 this ImmutableMessageDigest object.

E

equals(Object) - Method in class com.github.glusk.caesar.AbstractBytes
Returns true if and only if this and obj are both byte sequence objects and this.asArray() element-wise equals ((Bytes) obj).asArray().
equals(Object) - Method in interface com.github.glusk.caesar.Bytes
Returns true if and only if this and obj are both byte sequence objects and this.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 arguments to 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

ImmutableMessageDigest - Class in com.github.glusk.caesar.hashing
A java.security.MessageDigest functionality extension that allows for method chaining and is immutable.
ImmutableMessageDigest(MessageDigest) - Constructor for class com.github.glusk.caesar.hashing.ImmutableMessageDigest
Creates a new ImmutableMessageDigest object by wrapping an existing messageDigest instance.

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 string with the specified charset.

R

reversed() - Method in interface com.github.glusk.caesar.Bytes
Returns a new byte sequence which contains elements of this sequence in reverse order.

U

update(byte[]) - Method in class com.github.glusk.caesar.hashing.ImmutableMessageDigest
Updates this ImmutableMessageDigest with the argument array and returns the result as a new ImmutableMessageDigest object.
update(byte[], int, int) - Method in class com.github.glusk.caesar.hashing.ImmutableMessageDigest
Updates this ImmutableMessageDigest with the specified portion of the argument array and returns the result as a new ImmutableMessageDigest object.
update(Bytes...) - Method in class com.github.glusk.caesar.hashing.ImmutableMessageDigest
Updates this ImmutableMessageDigest with arguments and returns the result as a new ImmutableMessageDigest 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.
A B C D E H I P R U W X 
All Classes All Packages