Documentation
¶
Index ¶
- Variables
- func IsGoodHash(code uint64) booldeprecated
- func ValidateCid(c cid.Cid) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAboveMaximumHashLength = fmt.Errorf("hashes must be at most %d bytes long", maximumHashLength)
Deprecated: use github.com/ipfs/boxo/verifcid.ErrAboveMaximumHashLength
View Source
var ErrBelowMinimumHashLength = fmt.Errorf("hashes must be at least %d bytes long", minimumHashLength)
Deprecated: use github.com/ipfs/boxo/verifcid.ErrBelowMinimumHashLength
View Source
var ErrPossiblyInsecureHashFunction = fmt.Errorf("potentially insecure hash functions not allowed")
Deprecated: use github.com/ipfs/boxo/verifcid.ErrPossiblyInsecureHashFunction
Functions ¶
func IsGoodHash
deprecated
func ValidateCid
deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.