Blake3

open class Blake3(digestLength: Int = Hasher.DEFAULT_HASH_LEN) : Algorithm(source)

BLAKE3 with output size of digestLength bytes (default: 32 bytes)

Inheritors

Constructors

Link copied to clipboard
constructor(digestLength: Int = Hasher.DEFAULT_HASH_LEN)

Types

Link copied to clipboard
class DeriveKey(context: ByteArray, digestLength: Int = Hasher.DEFAULT_HASH_LEN) : Algorithm.Blake3

Blake3 using context to derive a key with output size of digestLength bytes (default: 32 bytes)

Link copied to clipboard
class Keyed(key: ByteArray, digestLength: Int = Hasher.DEFAULT_HASH_LEN) : Algorithm.Blake3

Blake3 using keyed hashing with output size of digestLength bytes (default: 32 bytes)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Create a Digest of the Algorithm for creating hashes

Link copied to clipboard
fun hash(input: ByteArray): ByteArray

Create a hash of input using the Algorithm