Secure Random¶
Import: import system.crypto;
SecureRandom¶
Cryptographically secure bytes with explicit entropy-source failures.
bytes¶
Returns exactly n secure bytes, or EINVAL/EENTROPY without exposing partial output.
fill¶
Fills the destination only after obtaining all requested entropy; failure preserves it.