Function storage_proofs_core::gadgets::encode::encode
source ยท pub fn encode<Scalar, CS>(
cs: CS,
key: &AllocatedNum<Scalar>,
value: &AllocatedNum<Scalar>,
) -> Result<AllocatedNum<Scalar>, SynthesisError>where
Scalar: PrimeField,
CS: ConstraintSystem<Scalar>,