newInputStream

fun newInputStream(key: ByteArray, customization: ByteArray = ByteArray(0)): HashInputStream

Creates a HashInputStream for this parameter.

Return

HashInputStream

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.

customization

Generic customization. This acts like a salt.