libp2p
    Preparing search index...

    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.

    Interfaces

    ECDHKey
    ECDHKeyPair
    EnhancedKey
    EnhancedKeyPair

    Type Aliases

    Curve

    Functions

    generateEphemeralKeyPair
    generateKeyPair
    generateKeyPairFromSeed
    keyStretcher
    privateKeyFromCryptoKeyPair
    privateKeyFromProtobuf
    privateKeyFromRaw
    privateKeyToCryptoKeyPair
    privateKeyToProtobuf
    publicKeyFromMultihash
    publicKeyFromProtobuf
    publicKeyFromRaw
    publicKeyToProtobuf