about summary refs log blame commit diff
path: root/tests/lang/eval-okay-hash.nix
blob: 65cd8afeb00d0e2e105160a5b1b052098bc7a0cd (plain) (tree)
1
2
3
4
5
6





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