[#InsecureRandomContext-randbytes-0b]
= xref:InsecureRandomContext.adoc[InsecureRandomContext]::randbytes
:relfileprefix: ../
:mrdocs:

Generate fixed&hyphen;size random bytes&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    size&lowbar;t N,
    xref:BasicByte.adoc[BasicByte] B = std::byte&gt;
std::array&lt;B, N&gt;
randbytes() noexcept;
----

== Return Value

An array of `N` random bytes&period;


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