verifcid

package
v0.4.15-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBelowMinimumHashLength = fmt.Errorf("hashes must be at %d least 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