An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.9% on proxy.golang.org
Top 0.5% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 7.1% forks on proxy.golang.org
Top 1.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/filecoin-project/go-fil-commp-hashhash

Package commp allows calculating a Filecoin Unsealed Commitment (commP/commD) given a bytestream. It is implemented as a standard hash.Hash() interface, with the entire padding and treebuilding algorithm written in golang. The returned digest is a 32-byte raw commitment payload. Use something like https://pkg.go.dev/github.com/filecoin-project/go-fil-commcid#DataCommitmentV1ToCID in order to convert it to a proper cid.Cid. The output of this library is 100% identical to https://github.com/filecoin-project/filecoin-ffi/blob/d82899449741ce19/proofs.go#L177-L196

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/filecoin-project/go-fil-commp-hashhash
License: Apache-2.0,MIT
Latest release: about 2 years ago
First release: about 4 years ago
Namespace: github.com/filecoin-project
Dependent packages: 100
Dependent repositories: 124
Stars: 10 on GitHub
Forks: 8 on GitHub
Docker dependents: 10
Docker downloads: 7,777
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago

    Loading...
    Readme
    Loading...