Skip to main content
Go to Latest
function cryptoGenerateKey
import { cryptoGenerateKey } from "https://deno.land/x/simple_utility@v0.0.12/src/crypto.ts";

Generate and export public/private key pair as a portable byte array.

Parameters

isECDH: boolean

Outputs the key for ECDH if true, for ECDSA if false.