CSHAKE256

CSHAKE256 implementation

https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf#3%20cSHAKE

See also

Constructors

Link copied to clipboard
constructor(N: ByteArray?, S: ByteArray?)

Creates a new CSHAKE256 instance with a default output length of 64 bytes.

constructor(N: ByteArray?, S: ByteArray?, outputLength: Int)

Creates a new CSHAKE256 instance with a non-default output length.

Types

Link copied to clipboard

Functions

Link copied to clipboard
expect override fun algorithm(): String
Link copied to clipboard
expect fun blockSize(): Int
Link copied to clipboard
open override fun copy(): CSHAKE256
Link copied to clipboard
expect fun digest(): ByteArray
expect fun digest(input: ByteArray): ByteArray
Link copied to clipboard
expect fun digestInto(dest: ByteArray, destOffset: Int): Int
Link copied to clipboard
expect fun digestLength(): Int
Link copied to clipboard
expect operator override fun equals(other: Any?): Boolean
Link copied to clipboard
expect override fun hashCode(): Int
Link copied to clipboard
expect override fun reset()
Link copied to clipboard
expect override fun toString(): String
Link copied to clipboard
expect override fun update(input: Byte)
expect override fun update(input: ByteArray)
expect override fun update(input: ByteArray, offset: Int, len: Int)