std::crypto::rand

Status: shipped

Secure random bytes from the host CSPRNG.

Public items

Name Kind Description
fill fn Fills a buffer with random bytes.
bytes fn Returns a fresh random byte vector.