You've already forked go-digest
mirror of
https://github.com/opencontainers/go-digest.git
synced 2025-10-23 14:48:27 +03:00
Add BLAKE3 support
This adds support for the BLAKE3 hash family with a default output size of 256-bit. Signed-off-by: Sargun Dhillon <sargun@sargun.me>
This commit is contained in:
@@ -34,6 +34,9 @@ const (
|
||||
// project. Other digests may be used but this one is the primary storage
|
||||
// digest.
|
||||
Canonical = SHA256
|
||||
// BLAKE3 is the blake3 algorithm with the default 256-bit output size
|
||||
// github.com/opencontainers/go-digest/blake3 should be imported to make it available
|
||||
BLAKE3 Algorithm = "blake3"
|
||||
)
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user