* Added SHA-1 support. nix-hash' now has an option --type sha1' to
select SHA-1 hashing.
This commit is contained in:
parent
73992371a3
commit
7e8961f720
9 changed files with 487 additions and 26 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
Hash hashTerm(ATerm t)
|
||||
{
|
||||
return hashString(atPrint(t));
|
||||
return hashString(atPrint(t), htMD5);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue