tuweni / org.apache.tuweni.crypto.sodium / GenericHash / hash

hash

static fun hash(hashLength: Int, input: Input): Hash (source)

Creates a generic hash of specified length of the input

Parameters

hashLength - the length of the hash

input - the input of the hash function

Return
the hash of the input