1#ifndef SECP256K1_COINS_MESSAGE_SIGNING_HPP
2#define SECP256K1_COINS_MESSAGE_SIGNING_HPP
50std::pair<fast::Point, bool>
59 bool compressed =
true);
bool bitcoin_verify_message(const std::uint8_t *msg, std::size_t msg_len, const fast::Point &pubkey, const ECDSASignature &sig)
std::string bitcoin_sig_to_base64(const RecoverableSignature &rsig, bool compressed=true)
BitcoinSigDecodeResult bitcoin_sig_from_base64(const std::string &base64)
RecoverableSignature bitcoin_sign_message(const std::uint8_t *msg, std::size_t msg_len, const fast::Scalar &private_key)
std::array< std::uint8_t, 32 > bitcoin_message_hash(const std::uint8_t *msg, std::size_t msg_len)
std::pair< fast::Point, bool > bitcoin_recover_message(const std::uint8_t *msg, std::size_t msg_len, const ECDSASignature &sig, int recid)