KangarooTwelve.jl

Hashing with hopping
Author tecosaur
Popularity
7 Stars
Updated Last
7 Months Ago
Started In
September 2023

KangarooTwelve

A pure-Julia implementation of the KangarooTwelve hashing scheme, so named because it consists of 12 rounds of Keccak (TurboSHAKE128) with kangaroo hopping, allowing for parallel tree-ish hashing termed “leaves stapled to a pole”.

This scheme presents a particularly good balance of:

  • Simplicity (Keccak + sponge + hopping)
  • Security (128-bit)
  • Speed (up to ~2bytes/cycle)

It is currently an IETF draft.

Usage

k12(data, [customisation]; thread=true)

Benchmark

docs/benchmark/scaling-benchmark.svg

Used By Packages

No packages found.