Skip to main content

Crate recall_fendermint_crypto

Crate recall_fendermint_crypto 

Source

Structs§

PublicKey
Public key on a secp256k1 curve.
RecoveryId
Tag used for public key recovery from signatures.
SecretKey
Wrapper around a libsecp256k1::SecretKey that implements Zeroize.
Signature
An ECDSA signature.

Functions§

from_b64
Decode bytes from Base64
normalize_public_key
Create a new key and make sure the wrapped public key is normalized, which is to ensure the results look the same after a serialization roundtrip.
to_b64
Encode bytes in a format that the Genesis deserializer can handle.