| ... | ... | @@ -2246,13 +2246,14 @@ pub fn unlockStderr(io: Io) void { |
| 2246 | 2246 | return io.vtable.unlockStderr(io.userdata); |
| 2247 | 2247 | } |
| 2248 | 2248 | |
| 2249 | | /// Obtains entropy. |
| 2249 | /// Obtains entropy from a cryptographically secure pseudo-random number |
| 2250 | /// generator. |
| 2250 | 2251 | /// |
| 2251 | 2252 | /// The implementation *may* store RNG state in process memory and use it to |
| 2252 | 2253 | /// fill `buffer`. |
| 2253 | 2254 | /// |
| 2254 | | /// The degree to which the entropy is cryptographically secure is determined |
| 2255 | | /// by the `Io` implementation. |
| 2255 | /// The randomness is seeded by `randomSecure`, or a less secure mechanism upon |
| 2256 | /// failure. |
| 2256 | 2257 | /// |
| 2257 | 2258 | /// Threadsafe. |
| 2258 | 2259 | /// |