mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
6f1743b1a5
Fixes #679. Note: on x86_64, SHA-512 is considerably faster than SHA-256 (198 MB/s versus 131 MB/s).
4 lines
154 B
Nix
4 lines
154 B
Nix
let
|
|
strings = [ "" "text 1" "text 2" ];
|
|
in
|
|
builtins.concatLists (map (hash: map (builtins.hashString hash) strings) ["md5" "sha1" "sha256" "sha512"])
|