EncodeSecret

Encode a private key in WIF format.

Synopsis

Declared in <key_io.h>

std::string
EncodeSecret(CKey const& key);

Return Value

The WIF-encoded string.

Parameters

NameDescription
keyThe key to encode.