de.mud.ssh
public class SshCrypto extends java.lang.Object
Constructor and Description |
---|
SshCrypto(java.lang.String type,
byte[] key) |
Modifier and Type | Method and Description |
---|---|
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) |
public byte[] encrypt(byte[] block)
public byte[] decrypt(byte[] block)
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)