verifcid

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: Apache-2.0, MIT Imports: 3 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAboveMaximumHashLength = fmt.Errorf("hashes must be at most %d bytes long", maximumHashLength)
View Source
var ErrBelowMinimumHashLength = fmt.Errorf("hashes must be at least %d bytes long", minimumHashLength)
View Source
var ErrPossiblyInsecureHashFunction = fmt.Errorf("potentially insecure hash functions not allowed")

Functions

func IsGoodHash

func IsGoodHash(code uint64) bool

func ValidateCid

func ValidateCid(c cid.Cid) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL