getDigestFunction
fun getDigestFunction(algorithm: String, salt: (value: String) -> String): (String) -> ByteArray
Content copied to clipboard
Create a digest function with the specified algorithm and salt provider.
Parameters
algorithm
digest algorithm name
salt
a function computing a salt for a particular hash input value