Changes
2 changed files (+4/-14)
-
-
@@ -9,7 +9,7 @@- 🔥 Blazingly slow - 🙏 Perfectly uniform distributions if you believe in it - 🚀 Impure, unreproducible, and indeterministic - 🔒 Cryptographically insecure - 🔒 Cryptographically secure, perchance, I think? - ⚡ Significantly more efficient than all known alternatives - 💖 Made with love
-
-
-
@@ -4,12 +4,11 @@ letinherit (builtins) genList hashString match replaceStrings readFile substring ; inherit (lib) concatStrings fix flip mod
-
@@ -17,17 +16,8 @@ pipereplicate ; last2 = "[0-9]*([0-9]{2})"; seed = pipe /proc/stat [ readFile (match '' .* intr ${last2}.* ctxt ${last2}.* softirq ${last2}.*'') concatStrings ]; seed = replaceStrings [ "-" "\n" ] [ "" "" ] (readFile /proc/sys/kernel/random/uuid); hash = hashString "sha256";
-