Registry / crypto / btcsuite-golangcrypto

btcsuite-golangcrypto

JSON →
library0.0.0-20150304025918-53f62d9b43e8gogounverified

Fork of Go's crypto libraries with additional Bitcoin-related cryptographic functions.

go get github.com/btcsuite/golangcrypto
INSTALL
IMPORT
SIG · BTCSUITE-GOLANGCRY
B
btcsuite-golangcrypto
cryptogov0.0.0-20150304025918-53f62d9b43e8
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.

golangcrypto
✓ github.com/btcsuite/golangcrypto

Computes a RIPEMD-160 hash using the btcsuite fork.

package main import ( "fmt" "github.com/btcsuite/golangcrypto/ripemd160" ) func main() { hash := ripemd160.New() hash.Write([]byte("data")) fmt.Printf("%x", hash.Sum(nil)) }
Debug
Known issues
gotchaThis is an old fork; prefer the official golang.org/x/crypto for most use cases.
fix
Use golang.org/x/crypto/ripemd160 instead.
affects: *
Upgrade
Version history
0.0.0-20150304025918-53f62d9b43e8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Amazon
1
Resources
btcsuite-golangcrypto — go get btcsuite-golangcrypto · libregistry