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