All Packages Class Hierarchy This Package Previous Next Index
Class mkgray.security.dh.DiffieHellmanChannel
java.lang.Object
|
+----mkgray.security.dh.DiffieHellmanChannel
- public class DiffieHellmanChannel
- extends Object
-
cipher
-
-
generator
-
-
mod
-
-
privateKey
-
-
publicKey
-
-
sharedKey
-
-
DiffieHellmanChannel()
-
-
decrypt(byte[])
-
-
decrypt(String)
-
-
encrypt(byte[])
-
-
encrypt(String)
-
-
generateKeyPair(int)
-
-
generateSharedKey(BigInteger)
-
-
setCipher(BlockCipher)
-
mod
public static BigInteger mod
generator
public static BigInteger generator
privateKey
public BigInteger privateKey
publicKey
public BigInteger publicKey
sharedKey
public BigInteger sharedKey
cipher
public BlockCipher cipher
DiffieHellmanChannel
public DiffieHellmanChannel()
generateKeyPair
public void generateKeyPair(int size)
generateSharedKey
public void generateSharedKey(BigInteger otherPublicKey)
setCipher
public void setCipher(BlockCipher c)
encrypt
public String encrypt(String s)
decrypt
public String decrypt(String s)
encrypt
public byte[] encrypt(byte plainText[])
decrypt
public byte[] decrypt(byte cipherText[])
All Packages Class Hierarchy This Package Previous Next Index