Skip to main content

Crate kangarootwelve

Crate kangarootwelve 

Source

Structsยง

KT128
KT128 Extendable Output Function (XOF). It allows absorbing arbitrary long input message, with optional domain separation using a customization string. It only supports absorbing the full message in a single call, i.e., it does not allow streamed hashing. The returned object can be squeezed for producing arbitrary long output. When absorbing a long message the absorption phase can benefit from multi-threading - it is feature-gated behind multi_threaded. Optionally one might want to hash on GPU, exploiting its high degree of parallelism - it is feature-gated behind cuda. Hashing only on NVIDIA GPU is supported for now. It supports both hashing GPU memory-resident data and transferring data to GPU, followed by hashing.
KT256
KT256 Extendable Output Function (XOF). It allows absorbing arbitrary long input message, with optional domain separation using a customization string. It only supports absorbing the full message in a single call, i.e., it does not allow streamed hashing. The returned object can be squeezed for producing arbitrary long output. When absorbing a long message the absorption phase can benefit from multi-threading - it is feature-gated behind multi_threaded. Optionally one might want to hash on GPU, exploiting its high degree of parallelism - it is feature-gated behind cuda. Hashing only on NVIDIA GPU is supported for now. It supports both hashing GPU memory-resident data and transferring data to GPU, followed by hashing.
KT128XOF
KT128 Extendable Output Function (XOF) Squeezer. This is the return type of the KT128 hasher. It allows squeezing arbitrary long output from the sponge. Squeezing always runs on CPU, single-threaded.
KT256XOF
KT256 Extendable Output Function (XOF) Squeezer. This is the return type of the KT256 hasher. It allows squeezing arbitrary long output from the sponge. Squeezing always runs on CPU, single-threaded.