An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hwsl2

An algebraic hash function, inspired by the paper Hashing with SL2 by Tillich and Zemor. The hash function is based on matrix multiplication in the special linear group of degree 2, over a Galois field of order 2^127, with all computations modulo the polynomial x^127 + x^63 + 1. This construction gives some nice properties, which traditional bit-scambling hash functions don't possess, including it being composable. It holds: Following that, the hash function is also parallelisable. If a message can be divided into a list of chunks, the hash of the message can be calculated in parallel: All operations in this package are implemented in a very efficient manner using SSE instructions.

Ecosystem
hackage.haskell.org
Latest Release
0.4.0.1
over 8 years ago
Versions
13
Downloads
9,294 total
Dependent Repos
1
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/hwsl2
spec
License MIT
First Release about 11 years ago
Last Synced 1 day ago
Repository
Stars 20 on GitHub
Forks 6 on GitHub