Skip to content

HashFn

[Source]

Produces a fixed-length byte array based on the input sequence.

interface val HashFn

Public Functions

apply

[Source]

The digest of input. The same input always gives the same digest, and every digest an implementation gives back has the same length. Raises an error when the underlying OpenSSL function fails.

fun box apply(
  input: ByteSeq)
: Array[U8 val] val ?

Parameters

Returns