crypto / org.apache.tuweni.crypto.sodium / GenericHash / Input / fromHash

fromHash

static fun fromHash(hash: Hash): Input (source)

Create a GenericHash.Input from a hash.

Parameters

hash - the hash

Return
An input.