EncryptionKeyPair.createclass method

Generates a new instance of EncryptionKeyPair containing a pair of algorithmically related keys using the randomBytes interface.

EncryptionKeyPaircreateencryption-key-pair

nametypedescription

encryption-key-pair

Promise for an EncryptionKeyPair

Promise that resolves to an instance of EncryptionKeyPair.