new Input Stream
fun newInputStream(key: ByteArray, outputLength: Int = PARAMETER.minLength / 8, customization: ByteArray = ByteArray(0)): HashInputStream
Creates a HashInputStream for this parameter.
Return
Since
2.0.0
Parameters
key
This should be longer than the required bit security strength. For this parameter, the key should at least be 16 bytes or 128 bits.
output Length
The number of bytes to output on close()
. Even with the same inputs, a different output length will produce a different hash for this parameter.
customization
Generic customization. This acts like a salt.