mirror of
https://github.com/minio/minio.git
synced 2025-11-10 14:09:48 -05:00
Add extended checksum support (#15433)
This commit is contained in:
@@ -33,3 +33,6 @@ func New() hash.Hash { return fipssha256.New() }
|
||||
|
||||
// Sum256 returns the SHA256 checksum of the data.
|
||||
func Sum256(data []byte) [fipssha256.Size]byte { return fipssha256.Sum256(data) }
|
||||
|
||||
// Size is the size of a SHA256 checksum in bytes.
|
||||
const Size = fipssha256.Size
|
||||
|
||||
Reference in New Issue
Block a user