public enum Blake2b extends Enum<Blake2b>
| Modifier and Type | Class and Description |
|---|---|
static class |
Blake2b.MultiPart256
Wrapper for Blake2b signing (256 bits) multi-part messages composed of a sequence of arbitrarily-sized chunks
|
static class |
Blake2b.MultiPart512
Wrapper for Blake2b signing (512 bits) multi-part messages composed of a sequence of arbitrarily-sized chunks
|
| Modifier and Type | Method and Description |
|---|---|
static void |
append256(net.openhft.chronicle.bytes.Bytes<?> hashGeneric,
net.openhft.chronicle.bytes.BytesStore<?,?> message)
Append the Blake2b hash (256 bits) of a message to a given Bytes handle
|
static void |
append512(net.openhft.chronicle.bytes.Bytes<?> hashGeneric,
net.openhft.chronicle.bytes.BytesStore<?,?> message)
Append the Blake2b hash (512 bits) of a message to a given Bytes handle
|
static net.openhft.chronicle.bytes.BytesStore |
hash256(net.openhft.chronicle.bytes.BytesStore message)
Generate Blake2b hash (256 bits) for a given message
|
static net.openhft.chronicle.bytes.BytesStore |
hash256(net.openhft.chronicle.bytes.BytesStore result,
net.openhft.chronicle.bytes.BytesStore message)
Generate Blake2b hash (256 bits) for a given message
|
static net.openhft.chronicle.bytes.BytesStore |
hash512(net.openhft.chronicle.bytes.BytesStore message)
Generate Blake2b hash (512 bits) for a given message
|
static net.openhft.chronicle.bytes.BytesStore |
hash512(net.openhft.chronicle.bytes.BytesStore result,
net.openhft.chronicle.bytes.BytesStore message)
Generate Blake2b hash (512 bits) for a given message
|
static Blake2b |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Blake2b[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Blake2b[] values()
for (Blake2b c : Blake2b.values()) System.out.println(c);
public static Blake2b valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static net.openhft.chronicle.bytes.BytesStore hash256(net.openhft.chronicle.bytes.BytesStore message)
message - - the message to hashpublic static net.openhft.chronicle.bytes.BytesStore hash256(net.openhft.chronicle.bytes.BytesStore result,
net.openhft.chronicle.bytes.BytesStore message)
result - - the BytesStore to hold the resultmessage - - the message to hashpublic static void append256(net.openhft.chronicle.bytes.Bytes<?> hashGeneric,
net.openhft.chronicle.bytes.BytesStore<?,?> message)
hashGeneric - - the Bytes handle onto which the Blake2b hash is appendedmessage - - the message to hashpublic static net.openhft.chronicle.bytes.BytesStore hash512(net.openhft.chronicle.bytes.BytesStore message)
message - - the message to hashpublic static net.openhft.chronicle.bytes.BytesStore hash512(net.openhft.chronicle.bytes.BytesStore result,
net.openhft.chronicle.bytes.BytesStore message)
result - - the BytesStore to hold the resultmessage - - the message to hashpublic static void append512(net.openhft.chronicle.bytes.Bytes<?> hashGeneric,
net.openhft.chronicle.bytes.BytesStore<?,?> message)
hashGeneric - - the Bytes handle onto which the Blake2b hash is appendedmessage - - the message to hashCopyright © 2023. All rights reserved.