DecodeSecret

Decode a WIF-encoded private key.

Synopsis

Declared in <key_io.h>

CKey
DecodeSecret(std::string const& str);

Return Value

The decoded key, or an invalid key on failure.

Parameters

NameDescription
strThe WIF string to decode.