[#CKey-MakeNewKey]
= xref:CKey.adoc[CKey]::MakeNewKey
:relfileprefix: ../
:mrdocs:

Generate a new private key using a cryptographic PRNG&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
MakeNewKey(bool fCompressed);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fCompressed*
| Whether the corresponding public key should be compressed&period;
|===


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