AbstractKeccakFunction

A wrapper class for UniversalDigestor so each API class will use the same underlying code with minimal boilerplate.

Author

Ron Lauren Hombre

Since

2.0.0

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Permutes over the buffer.

fun digest(byte: Byte): ByteArray

Copies a byte into the buffer and permutes over the buffer.

fun digest(byteArray: ByteArray): ByteArray

Copies an array of bytes into the buffer and permutes over the buffer.

fun digest(byteArray: ByteArray, offset: Int, length: Int): ByteArray

Copies a part of an array of bytes into the buffer and permutes over the buffer.

Link copied to clipboard

Permutes over the buffer.

Copies a byte into the buffer and permutes over the buffer.

Copies an array of bytes into the buffer and permutes over the buffer.

fun stream(byteArray: ByteArray, offset: Int, length: Int): HashOutputStream

Copies a part of an array of bytes into the buffer and permutes over the buffer.

Link copied to clipboard
fun update(byte: Byte)

Copies a byte into the buffer.

fun update(byteArray: ByteArray)

Copies an array of bytes into the buffer.

fun update(byteArray: ByteArray, offset: Int, length: Int)

Copies a part of an array of bytes into the buffer.