Tillich-Zemor hashing golang implementation
Clone or download
im-kulikov Enable CircleCI (#2)
* Enable CircleCI

* fix working directory
Latest commit 79ebc0e Jan 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Enable CircleCI (#2) Jan 3, 2019
cmd Initial Dec 29, 2018
gf127 Fix formatting Jan 3, 2019
tz Fix formatting Jan 3, 2019
.gitignore Initial Dec 29, 2018
Dockerfile Initial Dec 29, 2018
LICENSE Initial Dec 29, 2018
Makefile Initial Dec 29, 2018
README.md Initial Dec 29, 2018
auto.sh Initial Dec 29, 2018
benchmark Initial Dec 29, 2018
go.mod Initial Dec 29, 2018
go.sum Initial Dec 29, 2018




In project root:

# show help
# run auto demo
make auto

Homomorphic hashing in golang

Package tz containts pure-Go implementation of hashing function described by Tillich and Źemor in [1] .

There are existing implementations already (e.g. [2]), however it is written in C.

Package gf127 contains arithmetic in GF(2^127) with x^127+x^63+1 as reduction polynomial.


It can be used instead of Merkle-tree for data-validation, because homomorphic hashes are concatable: hash sum of data can be calculated based on hashes of chunks.

The example of how it works can be seen in tests.


At this moment, we do not accept contributions. Follow us.


→ make

    make <target>


    attach   Attach to existing container
    auto     Auto Tillich-Zémor hasher demo
    down     Stop demo container
    help     Show this help prompt
    up       Run Tillich-Zémor hasher demo


[1] https://link.springer.com/content/pdf/10.1007/3-540-48658-5_5.pdf

[2] https://github.com/srijs/hwsl2-core