Yawning Angel
6bafa21bee
crypto: Add rand_bytes
...
This adds `rand_bytes(dst: []byte)` which fills the destination buffer
with entropy from the cryptographic random number generator. This takes
the "simple is best" approach and just directly returns the OS CSPRNG
output instead of doing anything fancy (a la OpenBSD's arc4random).
2021-11-17 14:00:00 +00:00
..
2021-08-31 22:21:13 +01:00
2021-04-01 10:06:00 +01:00
2021-08-31 22:21:13 +01:00
2021-11-16 21:19:08 +00:00
2021-10-06 21:48:22 +02:00
2021-09-11 16:40:19 +01:00
2021-11-17 14:00:00 +00:00
2021-09-08 13:12:38 +01:00
2021-11-13 19:07:16 +00:00
2021-11-15 17:25:29 +00:00
2021-09-21 16:28:35 +02:00
2021-10-06 22:47:40 +02:00
2021-10-31 21:37:22 +00:00
2021-10-11 12:33:27 +00:00
2021-10-23 12:24:53 +02:00
2021-11-16 15:32:32 +00:00
2021-11-17 14:00:00 +00:00
2021-11-09 14:29:53 +01:00
2021-11-17 14:00:00 +00:00
2021-09-19 11:59:31 +01:00
2021-10-19 11:31:11 +01:00
2021-11-17 10:40:55 +00:00
2021-10-26 20:22:39 +01:00
2021-09-23 12:19:08 +01:00
2021-09-25 14:30:50 +01:00
2021-09-30 11:45:56 +01:00
2021-11-17 14:00:00 +00:00
2021-11-17 14:00:00 +00:00
2021-10-11 20:08:38 +01:00
2021-08-31 23:47:57 +01:00
2021-10-26 11:46:31 +01:00
2021-11-09 16:35:50 +00:00
2021-09-06 20:15:59 +01:00