Skip to main content
Go to Latest
class DiffieHellmanGroup
import { DiffieHellmanGroup } from "https://deno.land/std@0.158.0/node/internal/crypto/diffiehellman.ts";

Constructors

new
DiffieHellmanGroup(_name: string)

Properties

verifyError: number

Methods

computeSecret(otherPublicKey: ArrayBufferView): Buffer
computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding): Buffer
computeSecret(otherPublicKey: ArrayBufferView, outputEncoding: BinaryToTextEncoding): string
computeSecret(
otherPublicKey: string,
inputEncoding: BinaryToTextEncoding,
outputEncoding: BinaryToTextEncoding,
): string
getPrime(encoding: BinaryToTextEncoding): string