mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 02:09:36 +01:00
SHA-256 is Git's next hash algorithm. The world is still basically stuck on SHA-1 with git, but shouldn't be. We can at least do our part to get ready. On the C++ implementation side, only a little bit of generalization was needed, and that was fairly straight-forward. The tests (unit and system) were actually bigger, and care was taken to make sure they were all cover both algorithms equally. |
||
|---|---|---|
| .. | ||
| check-data.sh | ||
| hello-world-blob.bin | ||
| hello-world.bin | ||
| tree-sha1.bin | ||
| tree-sha1.txt | ||
| tree-sha256.bin | ||
| tree-sha256.txt | ||