public class RSACrypto extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Cipher |
cipher |
(package private) RSAPublicKey |
RSAkey |
Constructor and Description |
---|
RSACrypto(BigInteger mod,
BigInteger exp) |
RSACrypto(BigInteger mod,
BigInteger exp,
boolean oaep) |
RSACrypto(byte[] key) |
Cipher cipher
RSAPublicKey RSAkey
public RSACrypto(byte[] key)
public RSACrypto(BigInteger mod, BigInteger exp)
public RSACrypto(BigInteger mod, BigInteger exp, boolean oaep)
private void init(BigInteger mod, BigInteger exp, boolean oaep)
public byte[] encrypt(byte[] input)
Copyright © 2012. All Rights Reserved.