Encodings for acyclic leveled encryption #
The public artifact contains the list of public keys and the adjacent encrypted secret-key links. The private artifact contains only the initial and final secrets. Both use existing framed encodings and total polynomial-time decoders; no private key is part of the public data.
Main definitions #
Cslib.Crypto.Homomorphic.Leveled.encPublicKey: public keys and encrypted links.Cslib.Crypto.Homomorphic.Leveled.publicKeyDecoder: total public-artifact decoding.Cslib.Crypto.Homomorphic.Leveled.encSecretKey: the two endpoint secrets.Cslib.Crypto.Homomorphic.Leveled.secretKeyDecoder: total private-artifact decoding.
References #
The acyclic key chain follows Gentry, Section 2. Retaining two private endpoints supports both fresh and evaluated decryption through the same bit-string scheme interface.
Decode every public string; framing errors retain the standard total-decoder behavior.
Instances For
Decode the two private endpoint secrets from any bit string.
Instances For
@[simp]