libp2p
Preparing search index...
@libp2p/crypto
keys
privateKeyFromProtobuf
Function privateKeyFromProtobuf
privateKeyFromProtobuf
(
buf
:
Uint8Array
,
)
:
ECDSAPrivateKey
|
Ed25519PrivateKey
|
RSAPrivateKey
|
Secp256k1PrivateKey
Converts a protobuf serialized private key into its representative object
Parameters
buf
:
Uint8Array
Returns
ECDSAPrivateKey
|
Ed25519PrivateKey
|
RSAPrivateKey
|
Secp256k1PrivateKey
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
libp2p
Loading...
Converts a protobuf serialized private key into its representative object