You've already forked go-digest
mirror of
https://github.com/opencontainers/go-digest.git
synced 2025-11-22 01:40:47 +03:00
@@ -39,9 +39,7 @@ const (
|
||||
BLAKE3 Algorithm = "blake3"
|
||||
)
|
||||
|
||||
var (
|
||||
algorithmRegexp = regexp.MustCompile(`^[a-z0-9]+([+._-][a-z0-9]+)*$`)
|
||||
)
|
||||
var algorithmRegexp = regexp.MustCompile(`^[a-z0-9]+([+._-][a-z0-9]+)*$`)
|
||||
|
||||
// CryptoHash is the interface that any hash algorithm must implement
|
||||
type CryptoHash interface {
|
||||
|
||||
Reference in New Issue
Block a user