Documentation

CslibFrontier.Crypto.Protocols.FRI.Soundness.SymbolEncoding

Unsigned Little-Endian Binary Symbol Codec for ZMod p #

Defines the computable unsigned little-endian binary symbol encoding encZMod and decoding decZMod on ZMod p together with leftInverse_decZMod_encZMod for instantiating BCS random-oracle soundness bounds over prime fields.

Computable unsigned little-endian binary symbol encoding for ZMod p via Nat.bits, preserving the minimal bit-list word layout Nat.bits x.val (distinct from the sign-magnitude ZMod encoding in Turing.MultiTapeTM.encZMod).

Computable unsigned little-endian binary symbol decoding for ZMod p via Turing.MultiTapeTM.ofBits.