about summary refs log tree commit diff
path: root/third_party/nix/src/tests/lang/eval-okay-hashstring.nix
blob: b0f62b245ca838c6698392f97a4753fafd4ed35d (plain) (blame)
1
2
3
4
let
  strings = [ "" "text 1" "text 2" ];
in
  builtins.concatLists (map (hash: map (builtins.hashString hash) strings) ["md5" "sha1" "sha256" "sha512"])