fix: use a 32 byte hash, not 64

This commit is contained in:
Derrick Hammer 2024-01-16 01:08:39 -05:00
parent 276719f47f
commit 58f734d3b3
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ func (s *StorageServiceImpl) GetHash(file io.ReadSeeker) ([]byte, error) {
return nil, err
}
hash := blake3.Sum512(buf.Bytes())
hash := blake3.Sum256(buf.Bytes())
return hash[:], nil
}