Module bitcoin_serai::crypto

source ·
Available on crate feature hazmat only.
Expand description

Cryptographic helpers.

Structs§

  • Hramstd
    A BIP-340 compatible HRAm for use with the modular-frost Schnorr Algorithm.
  • BIP-340 Schnorr signature algorithm.

Functions§

  • make_evenstd or hazmat
    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.