Module bitcoin_serai::crypto
source · Available on crate feature
hazmat
only.Expand description
Cryptographic helpers.
Structs§
- Hram
std
A BIP-340 compatible HRAm for use with the modular-frost Schnorr Algorithm. - Schnorr
std
BIP-340 Schnorr signature algorithm.
Functions§
- make_even
std
orhazmat
Make a point even by adding the generator until it is even. - Get the x coordinate of a non-infinity, even point. Panics on invalid input.
- Convert a non-infinity even point to a XOnlyPublicKey. Panics on invalid input.