import { DiffieHellman } from "https://deno.land/std@0.172.0/node/internal/crypto/diffiehellman.ts";
Methods
computeSecret(otherPublicKey: ArrayBufferView): Buffer
computeSecret(otherPublicKey: string, inputEncoding: BinaryToTextEncoding): Buffer
computeSecret(otherPublicKey: ArrayBufferView, outputEncoding: BinaryToTextEncoding): string
computeSecret(): string
generateKeys(encoding: BinaryToTextEncoding): string
getGenerator(encoding: BinaryToTextEncoding): string
getPrime(encoding: BinaryToTextEncoding): string
getPrivateKey(encoding: BinaryToTextEncoding): string
getPublicKey(encoding: BinaryToTextEncoding): string
setPrivateKey(privateKey: ArrayBufferView): void
setPrivateKey(privateKey: string, encoding: BufferEncoding): void
setPublicKey(publicKey: ArrayBufferView): void
setPublicKey(publicKey: string, encoding: BufferEncoding): void