1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-17 20:10:03 +02:00

include/libeosio/WIF.hpp: Adding wif_priv_decode function.

This commit is contained in:
Henrik Hautakoski 2023-03-10 11:12:46 +01:00
parent 82fc4b60cf
commit 4015399d47
4 changed files with 64 additions and 0 deletions

View file

@ -34,6 +34,11 @@ namespace libeosio {
*/
std::string wif_priv_encode(const ec_privkey_t& priv);
/**
* Decode an WIF String to EC private key
*/
bool wif_priv_decode(ec_privkey_t& priv, const std::string& data);
/**
* Encode an EC public key to WIF String.
*/