A haskell sinsemilla hash function implementation using PastaCurves and inspired by the Zebra sinsemilla implementation in Rust.
This is experimental/proof of concept code.
There is a Sinsemilla TLA+ spec but this implementation is not following that specification yet as it was coded before the specification exist. The plan is to refactor the implementation to meet the spec. Progress for that will be tracked in #1
stack run
or
cabal run
% 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=
%
stack test
or
cabal test