Package | Description |
---|---|
gnu.crypto.mac | |
gnu.crypto.prng |
Modifier and Type | Class and Description |
---|---|
class |
BaseMac
A base abstract class to facilitate MAC (Message Authentication
Code) implementations.
|
class |
HMac
The implementation of the HMAC (Keyed-Hash Message Authentication
Code).
|
class |
TMMH16
TMMH is a universal hash function suitable for message
authentication in the Wegman-Carter paradigm, as in the Stream Cipher
Security Transform.
|
class |
UHash32
UHASH is a keyed hash function, which takes as input a string of
arbitrary length, and produces as output a string of fixed length (such as 8
bytes).
|
class |
UMac32
The implementation of the UMAC (Universal Message Authentication
Code).
|
Modifier and Type | Method and Description |
---|---|
static IMac |
MacFactory.getInstance(java.lang.String name)
Returns an instance of a MAC algorithm given its name.
|
static IMac |
HMacFactory.getInstance(java.lang.String name)
Return an instance of a HMAC algorithm given the name of its
underlying hash function, prefixed with the literal defined in
Registry.HMAC_NAME_PREFIX . |
IMac |
MacOutputStream.getMac()
Returns the MAC this stream is updating.
|
IMac |
MacInputStream.getMac()
Returns the MAC this stream is updating.
|
Modifier and Type | Method and Description |
---|---|
void |
MacOutputStream.setMac(IMac mac)
Sets the MAC this stream is updating, which must have already been
initialized.
|
void |
MacInputStream.setMac(IMac mac)
Sets the MAC this stream is updating, which must have already been
initialized.
|
Constructor and Description |
---|
MacInputStream(java.io.InputStream in,
IMac mac)
Creates a new MacInputStream.
|
MacOutputStream(java.io.OutputStream out,
IMac mac)
Creates a new
MacOutputStream . |
Constructor and Description |
---|
PBKDF2(IMac mac)
Creates a new PBKDF2 object.
|
Copyright © 2025. All rights reserved.