ddn.crypto.kex.dh

Diffie-Hellman Key Exchange Implementation (PKCS#3 / RFC 2631).

class DH

Types 1

Diffie-Hellman Key Agreement.

Fields
private DHPrivateKey _key
Methods
void init(PrivateKey privateKey)
ubyte[] calculateSecret(PublicKey publicKey)
private size_t byteLength(BigInt n)
private ubyte[] i2osp(BigInt x, size_t xLen)