mirror of
https://github.com/kopia/kopia.git
synced 2026-03-11 10:46:25 -04:00
Motivation: avoid making accidental decisions based on all-zeros content in the future. While the dummy hash is a non-zero-value slice, that is it is non-empty (thus not nil), it is still the default value produced by `make([]byte, salt + hashLength)`, and it is possible to accidentally compare and have a positive match against a newly initialized slice.