tecosaur / KangarooTwelve.jl

Hashing with hopping

Home Page:https://tecosaur.github.io/KangarooTwelve.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Hashing with hopping

https://tecosaur.github.io/KangarooTwelve.jl/

License:MIT License


Languages

Language:Julia 100.0%