[#DecodeSecret]
= DecodeSecret
:mrdocs:

Decode a WIF&hyphen;encoded private key&period;

== Synopsis

Declared in `&lt;key&lowbar;io&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CKey.adoc[CKey]
DecodeSecret(std::string const& str);
----

== Return Value

The decoded key, or an invalid key on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The WIF string to decode&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
