mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 03:50:04 +02:00
include/libeosio/WIF.hpp: Adding wif_pub_decode function
This commit is contained in:
parent
65f93f061c
commit
c990bae52e
4 changed files with 61 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ bool wif_priv_decode(ec_privkey_t& priv, const std::string& data);
|
|||
*/
|
||||
std::string wif_pub_encode(const ec_pubkey_t& pub, const std::string& prefix = "EOS");
|
||||
|
||||
/**
|
||||
* Decode an WIF String to EC public key
|
||||
*/
|
||||
bool wif_pub_decode(ec_pubkey_t& pub, const std::string& data, size_t prefix_length = 3);
|
||||
|
||||
/**
|
||||
* Prints an EC keypair in WIF format to standard out.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue