DeriveKey

class DeriveKey(context: ByteArray, digestLength: Int = Hasher.DEFAULT_HASH_LEN) : Algorithm.Blake3(source)

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

Constructors

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

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