Common interface for DiffieHellman and a mimic object returned by Crypto.getDiffieHellman.
See DiffieHellman documentation.
Common interface for DiffieHellman and a mimic object returned by Crypto.getDiffieHellman.
See DiffieHellman documentation.
computeSecret(other_public_key:String, input_encoding:String, output_encoding:String):StringcomputeSecret(other_public_key:Buffer):BuffercomputeSecret(other_public_key:String, input_encoding:String):Buffer