lix/tests/lang/eval-okay-hash.nix
2013-02-08 19:36:23 +01:00

7 lines
251 B
Nix

let
md5 = builtins.hashString "md5";
sha1 = builtins.hashString "sha1";
sha256 = builtins.hashString "sha256";
strings = [ "" "text 1" "text 2" ];
in
(builtins.map md5 strings) ++ (builtins.map sha1 strings) ++ (builtins.map sha256 strings)