generateFlex

fun generateFlex(parameters: KeccakParameter, flexiByteArray: FlexiByteArray, lengthInBytes: Int = parameters.minLength / 8): ByteArray

Generate a hash based on the Keccak parameter.

Parameters

parameters

KeccakParameter of the SHA-3 Hash Function.

flexiByteArray

FlexiByteArray of inputs that aren't byte-size.

lengthInBytes

(Optional) Intended for the Extendable Hash Functions.