de.mud.ssh
Class SshCrypto
java.lang.Object
de.mud.ssh.SshCrypto
public class SshCrypto
- extends java.lang.Object
- Version:
- $Id: SshCrypto.java 499 2005-09-29 08:24:54Z leo $
- Author:
- Marcus Meissner
Constructor Summary |
SshCrypto(java.lang.String type,
byte[] key)
|
Method Summary |
byte[] |
decrypt(byte[] block)
|
byte[] |
encrypt(byte[] block)
|
static byte[] |
encrypteRSAPkcs1Twice(byte[] clearData,
byte[] server_key_public_exponent,
byte[] server_key_public_modulus,
byte[] host_key_public_exponent,
byte[] host_key_public_modulus)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SshCrypto
public SshCrypto(java.lang.String type,
byte[] key)
encrypt
public byte[] encrypt(byte[] block)
decrypt
public byte[] decrypt(byte[] block)
encrypteRSAPkcs1Twice
public static byte[] encrypteRSAPkcs1Twice(byte[] clearData,
byte[] server_key_public_exponent,
byte[] server_key_public_modulus,
byte[] host_key_public_exponent,
byte[] host_key_public_modulus)