function createDiffieHellman
Usage
import { createDiffieHellman } from "node:crypto";
Creates a DiffieHellman key exchange object using the supplied prime and an
optional specific generator.
The generator argument can be a number, string, or Buffer. Ifgenerator is not specified, the value 2 is used.
If primeEncoding is specified, prime is expected to be a string; otherwise
a Buffer, TypedArray, or DataView is expected.
If generatorEncoding is specified, generator is expected to be a string;
otherwise a number, Buffer, TypedArray, or DataView is expected.
primeEncoding: BinaryToTextEncoding
primeEncoding: BinaryToTextEncoding
generatorEncoding: BinaryToTextEncoding