nix/tests/lang/eval-okay-hash.nix

7 lines
168 B
Nix
Raw Normal View History

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