Blake2s

open class Blake2s(outputSizeBits: Int = 256) : Algorithm(source)

BLAKE2s with output size of outputSizeBits bits (default: 256 bits)

Inheritors

Constructors

Link copied to clipboard
constructor(outputSizeBits: Int = 256)

Types

Link copied to clipboard
class Keyed(key: ByteArray, salt: ByteArray? = null, personalisation: ByteArray? = null, outputSizeBits: Int = 256) : Algorithm.Blake2s

Blake2s tuned to your specific requirements, such as keyed hashing, hashing with a salt, or personalisation, or any combination thereof with output size of outputSizeBits bits (default: 256 bits)

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