Crate miden_stdlib

Crate miden_stdlib 

Source

Modules§

handlers

Structs§

StdLibrary
TODO: add docs

Functions§

ecdsa_sign
Signs the provided message with the supplied secret key and encodes this signature and the associated public key into a vector of field elements in the format expected by stdlib::crypto::dsa::ecdsa::secp256k1::verify_ecdsa_k256_keccak procedure.
encode_ecdsa_signature
Encodes the provided public key and signature into a vector of field elements in the format expected by stdlib::crypto::dsa::ecdsa::secp256k1::verify_ecdsa_k256_keccak procedure.
falcon_sign
Signs the provided message with the provided secret key and returns the resulting signature encoded in the format required by the rpo_faclcon512::verify procedure, or None if the secret key is malformed due to either incorrect length or failed decoding.
prepare_ecdsa_signature
Infers the pubic key from the provided signature and message, and encodes this public key and signature into a vector of field elements in the format expected by stdlib::crypto::dsa::ecdsa::secp256k1::verify_ecdsa_k256_keccak procedure.