cleanup, docs
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
# random_bytes
|
||||
|
||||
```cpp
|
||||
String random_bytes(u64 n)
|
||||
```
|
||||
|
||||
Returns up to `n` bytes from the host CSPRNG. Requests are capped to a bounded size.
|
||||
|
||||
:example
|
||||
String bytes = random_bytes(4);
|
||||
print(bytes.length(), " bytes\n");
|
||||
|
||||
:see
|
||||
>noise
|
||||
|
||||
Reference in New Issue
Block a user