import { DiffieHellmanGroup } from "https://dotland.deno.dev/std@0.177.0/node/crypto.ts";
Methods
computeSecret(otherPublicKey: ArrayBufferView): Buffer
computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding): Buffer
computeSecret(otherPublicKey: ArrayBufferView, outputEncoding: BinaryToTextEncoding): string
computeSecret(): string
generateKeys(): Buffer
generateKeys(encoding: BinaryToTextEncoding): string
getGenerator(): Buffer
getGenerator(encoding: BinaryToTextEncoding): string
getPrime(): Buffer
getPrime(encoding: BinaryToTextEncoding): string
getPrivateKey(): Buffer
getPrivateKey(encoding: BinaryToTextEncoding): string
getPublicKey(): Buffer
getPublicKey(encoding: BinaryToTextEncoding): string