RandBytes¶
Generate cryptographically secure random bytes using OpenSSL's CSPRNG.
Returns an array of the requested number of random bytes, or raises an error if the CSPRNG cannot generate secure output (e.g., insufficient entropy during early system startup).
Constructors¶
create¶
Returns¶
- RandBytes val^
Public Functions¶
apply¶
Parameters¶
- size: USize val
Returns¶
eq¶
Parameters¶
- that: RandBytes val
Returns¶
- Bool val
ne¶
Parameters¶
- that: RandBytes val
Returns¶
- Bool val