SHAKE128

class SHAKE128(val outputLength: Int = PARAMETER.minLength / 8) : AbstractKeccakFunction

SHAKE128 Hash Function as defined in FIPS 202.

Author

Ron Lauren Hombre

Since

2.0.0

Constructors

Link copied to clipboard
constructor(outputLength: Int = PARAMETER.minLength / 8)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of bytes to output on digest() or stream().

Link copied to clipboard
open override val parameter: KeccakParameter

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.