Eval-time random number generator for Nix without IFD

5 Likes

Nice work! You could make this cryptographically secure by using /proc/sys/kernel/random/uuid as the RNG seed. This brings us one step closer to a TLS implementation in pure Nix; the possibilites are endless!

2 Likes

Thanks for the kind words! Didn’t expect to learn something from posting this

1 Like

Haha I love it! Especially the way you parse a hey hex string :ok_hand:

3 Likes
Hosted by Flying Circus.