oxarbitrage / sinsemilla

Sinsemilla hash function haskell implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sinsemilla haskell implementation

A haskell sinsemilla hash function implementation using PastaCurves and inspired by the Zebra sinsemilla implementation in Rust.

This is experimental/proof of concept code.

Demo

stack run

or

cabal run

Example:

% stack run 
---Sinsemilla hash function---

Insert a domain to be used:
test1
Insert message to be hashed:
this is a test

B64 encoded ciphertext:

VHCDjVMz9uY6bVLBE6/MM9vRZvxNRe3IIlyzVkky5Ro=

% 

Tests

stack test

or

cabal test

About

Sinsemilla hash function haskell implementation

License:Apache License 2.0


Languages

Language:TLA 69.8%Language:Haskell 30.2%