CoolrfulDARkness/moonvoprf/voprf does not have a README file
pub(all) struct BlindState {
suite : CipherSuite
mode : Mode
blind : Bytes
input : Bytes
blinded_element : Bytes
} derive(Eq, Debug)fn derive_key_pair_for_mode(suite : CipherSuite, mode : Mode, seed : Bytes, info : Bytes) -> KeyPair raise VoprfErrorfn oprf_blind_evaluate(suite : CipherSuite, sk : Bytes, blinded_element : Bytes) -> Bytes raise VoprfErrorfn oprf_blind_with_scalar(suite : CipherSuite, input : Bytes, blind_scalar_bytes : Bytes) -> BlindState raise VoprfErrorfn poprf_blind_evaluate(suite : CipherSuite, sk : Bytes, pk : Bytes, blinded_elements : Array[Bytes], info : Bytes, seed : Bytes) -> (Array[Bytes], Proof) raise VoprfErrorfn poprf_blind_evaluate_with_r(suite : CipherSuite, sk : Bytes, pk : Bytes, blinded_elements : Array[Bytes], info : Bytes, proof_r : Bytes) -> (Array[Bytes], Proof) raise VoprfErrorfn poprf_blind_with_scalar(suite : CipherSuite, input : Bytes, blind_scalar_bytes : Bytes) -> BlindState raise VoprfErrorfn poprf_finalize(state : BlindState, pk : Bytes, evaluated_element : Bytes, info : Bytes, proof : Proof) -> Bytes raise VoprfErrorfn poprf_finalize_batch(states : Array[BlindState], pk : Bytes, evaluated_elements : Array[Bytes], info : Bytes, proof : Proof) -> Array[Bytes] raise VoprfErrorfn poprf_full_evaluate(suite : CipherSuite, sk : Bytes, input : Bytes, info : Bytes) -> Bytes raise VoprfErrorfn voprf_blind_evaluate(suite : CipherSuite, sk : Bytes, pk : Bytes, blinded_elements : Array[Bytes], seed : Bytes) -> (Array[Bytes], Proof) raise VoprfErrorfn voprf_blind_evaluate_with_r(suite : CipherSuite, sk : Bytes, pk : Bytes, blinded_elements : Array[Bytes], proof_r : Bytes) -> (Array[Bytes], Proof) raise VoprfErrorfn voprf_blind_with_scalar(suite : CipherSuite, input : Bytes, blind_scalar_bytes : Bytes) -> BlindState raise VoprfErrorfn voprf_finalize(state : BlindState, pk : Bytes, evaluated_element : Bytes, proof : Proof) -> Bytes raise VoprfErrorfn voprf_finalize_batch(states : Array[BlindState], pk : Bytes, evaluated_elements : Array[Bytes], proof : Proof) -> Array[Bytes] raise VoprfErrorInstall
Download zipPure MoonBit, zero-FFI IETF modern privacy-authentication & threshold cryptography stack: RFC 9497 (OPRF/VOPRF/POPRF), RFC 9578 (Privacy Pass), RFC 9807 (OPAQUE-3DH), RFC 9591 (FROST + Pedersen DKG), RFC 9380 (Hash-to-Curve), RFC 9496 (Ristretto255), and RFC 7748 (X25519) over a single zero-duplication cryptographic core.