PHASH is a self-contained, dependency-free, post-quantum XOF hashing algorithm implemented in modern C++20.
This release delivers the first fully stable production implementation of the PetoronHash-System — a 1600-bit sponge-based hash function with domain separation, extendable output, and deterministic behavior.
Key Features
No external dependencies — pure C++20 implementation.
Extendable Output (XOF) — supports arbitrary output length (256–8192+ bits).
PH2 Permutation-based cryptographic post-quantum hash library with duplex construction (C++20)
PetoronHash2 (PH2) is a standalone ARX-based sponge construction that combines:
A 4096-bit internal permutation core
A sponge/duplex architecture with explicit capacity separation
An extendable-output function (XOF)
Memory-hard (HARD) and burn (BURN) modes
A structured tagged absorb scheme
A parameterized architecture suitable for hashing, KDF, and stress-oriented derivation
PH2 is designed as a wide-state cryptographic primitive with explicit domain separation and configurable output...
Repository moving to https://github.com/cmendl/fermifab !
A quantum physics toolbox for small fermionic systems. Keywords: quantum mechanics, reduced density matrices, Slater determinants, second quantization, creation and annihilation operators