Preparing search index...
The search index is not available
@libp2p/crypto - v1.0.17
@libp2p/crypto - v1.0.17
keys
marshalPrivateKey
Function marshalPrivateKey
marshal
Private
Key
(
key
:
{
bytes
:
Uint8Array
;
}
, type
?:
string
)
:
Uint8Array
Parameters
key:
{
bytes
:
Uint8Array
;
}
bytes
:
Uint8Array
Optional
type:
string
Returns
Uint8Array
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@libp2p/crypto -
v1.0.17
aes
hmac
index
keys
<internal>
"/home/runner/work/js-
libp2p-
crypto/js-
libp2p-
crypto/src/keys/ed25519-
class"
"/home/runner/work/js-
libp2p-
crypto/js-
libp2p-
crypto/src/keys/rsa-
class"
"/home/runner/work/js-
libp2p-
crypto/js-
libp2p-
crypto/src/keys/secp256k1-
class"
keysPBM
Key
Type
Private
Key
Public
Key
Key
Types
supported
Keys
generate
Ephemeral
Key
Pair
generate
Key
Pair
generate
Key
Pair
From
Seed
import
Key
key
Stretcher
marshal
Private
Key
marshal
Public
Key
unmarshal
Private
Key
unmarshal
Public
Key