Supported Key Types

The generateKeyPair, marshalPublicKey, and marshalPrivateKey functions accept a string type argument.

Currently the 'RSA', 'ed25519', and secp256k1 types are supported, although ed25519 and secp256k1 keys support only signing and verification of messages.

For encryption / decryption support, RSA keys should be used.

Index

Namespaces

Classes

Interfaces

Type Aliases

Variables

Functions