vfhe.crypto¶
The basic cryptographic primitives every other module builds on.
randomis the randomness:Random, the source a scheme’s samplers draw from, the entropy stream or a seeded stream, andseeded_below_many, values another party recomputes from a transcript. Nothing else in vfhe draws randomness from anywhere.hashis BLAKE3:digestof a byte string and the chainDigestChain; every digest isDIGEST_LENbytes.merkleis the vector commitment: the treeMerkleandjoin_digests.
Importing vfhe.crypto imports none of them; import the one you use:
>>> from vfhe.crypto.random import Random