verifcid

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0, MIT Imports: 3 Imported by: 28 modules, 48 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

❗ This repo is no longer maintained.

👉 We highly recommend switching to the maintained version at https://github.com/ipfs/boxo/tree/main/verifcid. 🏎️ Good news! There is tooling and documentation to expedite a switch in your repo.

⚠️ If you continue using this repo, please note that security fixes will not be provided (unless someone steps in to maintain it).

📚 Learn more, including how to take the maintainership mantle or ask questions, here.

Documentation

Index

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 IsGoodHash(code uint64) bool

Deprecated: use github.com/ipfs/boxo/verifcid.IsGoodHash

func ValidateCid deprecated

func ValidateCid(c cid.Cid) error

Deprecated: use github.com/ipfs/boxo/verifcid.ValidateCid

Types

This section is empty.

Jump to

Keyboard shortcuts

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