return this.mod;
}
private String generate() throws Exception{
RSAKeyParameters pubParameters = new RSAKeyParameters(false, mod, exp);
AsymmetricBlockCipher eng = new PKCS1Encoding(new RSAEngine());
eng.init(true, pubParameters);
byte[] data = Base16.fromHexString(this.sessionKey);
data = eng.processBlock(data, 0, data.length);
return Base16.toHexString(data);
}