HasherFactory

open class HasherFactory(val name: String, val create: () -> Hasher)

Inheritors

Constructors

Link copied to clipboard
constructor(name: String, create: () -> Hasher)

Properties

Link copied to clipboard
val create: () -> Hasher
Link copied to clipboard

Functions

Link copied to clipboard
fun digest(data: ByteArray): Hash
inline fun digest(temp: ByteArray = ByteArray(0x1000), readBytes: (data: ByteArray) -> Int): Hash
Link copied to clipboard
operator fun invoke(): Hasher
Link copied to clipboard
open override fun toString(): String