Skip to content

tecosaur/KangarooTwelve.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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