[#GenerateRandomKey]
= GenerateRandomKey
:mrdocs:

Generate a new random private key&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CKey.adoc[CKey]
GenerateRandomKey(bool compressed = true) noexcept;
----

== Return Value

A freshly generated random private key&period;

== Parameters

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


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