Registry / crypto / multiformats-go-multihash

multiformats-go-multihash

JSON →
library0.2.3gogounverified

Package multihash implements self-describing hashes for Go.

go get github.com/multiformats/go-multihash
INSTALL
IMPORT
SIG · MULTIFORMATS-GO-MU
M
multiformats-go-multihash
cryptogov0.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

multihash
✓ github.com/multiformats/go-multihash

Computes a SHA2-256 multihash of 'data'.

package main import ( "fmt" "github.com/multiformats/go-multihash" ) func main() { hash, _ := multihash.Sum([]byte("data"), multihash.SHA2_256, -1) fmt.Printf("%x\n", hash) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
multiformats-go-multihash — go get multiformats-go-multihash · libregistry