Registry / crypto / benlaurie-objecthash

benlaurie-objecthash

JSON →
library0.0.0-20180202135721-d1e3d6079fc1gogounverified

A Go implementation of the ObjectHash algorithm for hashing structured data.

go get github.com/benlaurie/objecthash
INSTALL
IMPORT
SIG · BENLAURIE-OBJECTHA
B
benlaurie-objecthash
cryptogov0.0.0-20180202135721-d1e3d6079fc1
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.

objecthash
github.com/benlaurie/objecthash

Computes the ObjectHash of a JSON object.

package main import ( "fmt" "github.com/benlaurie/objecthash" ) func main() { hash := objecthash.CommonJSONHash([]byte(`{"key":"value"}`)) fmt.Printf("Hash: %x\n", hash) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180202135721-d1e3d6079fc1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
26
Resources
benlaurie-objecthash — go get benlaurie-objecthash · libregistry