[#FastRandomContext-2constructor-0d]
= xref:FastRandomContext.adoc[FastRandomContext]::FastRandomContext
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Construct a FastRandomContext with GetRandHash()&hyphen;based entropy (or zero key if fDeterministic)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:FastRandomContext/2constructor-0b.adoc[FastRandomContext](bool fDeterministic = false) noexcept;
----

[.small]#xref:FastRandomContext/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Initialize with explicit seed (only for testing)


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:FastRandomContext/2constructor-0f.adoc[FastRandomContext](xref:uint256.adoc[uint256] const& seed) noexcept;
----

[.small]#xref:FastRandomContext/2constructor-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fDeterministic*
| When true, seed with a zero key for reproducible output instead of gathering entropy&period;
| *seed*
| The fixed seed to initialize the context with&period;
|===


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