Registry / crypto / libp2p-go-libp2p-crypto

libp2p-go-libp2p-crypto

JSON →
library0.1.0gogounverified

Deprecated: use github.com/libp2p/go-libp2p-core/crypto instead.

go get github.com/libp2p/go-libp2p-crypto
INSTALL
IMPORT
SIG · LIBP2P-GO-LIBP2P-C
L
libp2p-go-libp2p-crypto
cryptogov0.1.0
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.

crypto
github.com/libp2p/go-libp2p-crypto

Generate an RSA key pair (deprecated).

package main import ( "fmt" "github.com/libp2p/go-libp2p-crypto" ) func main() { priv, _, err := crypto.GenerateKeyPair(crypto.RSA, 2048) if err != nil { panic(err) } fmt.Println(priv) }
Debug
Known issues
breakingThis package is deprecated; use github.com/libp2p/go-libp2p-core/crypto instead.
fix
Replace import with github.com/libp2p/go-libp2p-core/crypto.
affects: >=0.0.0
Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
libp2p-go-libp2p-crypto — go get libp2p-go-libp2p-crypto · libregistry