Skip to main content
webcrypto.CryptoKeyPair - crypto - Node documentation
interface webcrypto.CryptoKeyPair

Usage in Deno

import { webcrypto } from "node:crypto";

The CryptoKeyPair is a simple dictionary object with publicKey and privateKey properties, representing an asymmetric key pair.

Properties

A CryptoKey whose type will be 'private'.

A CryptoKey whose type will be 'public'.