public final class RSA
extends java.lang.Object
For more information about RSA, see Schneier, "Applied Cryptography" or another general cryptograhy reference.
| Constructor and Description |
|---|
RSA()
Creates a new
RSA instance. |
public RSA()
RSA instance. The setKey method must be called before encrypting or decrypting.public void setKey(RSAKey key)
key - the keypublic java.math.BigInteger performOp(java.math.BigInteger m)
m - The value to encrypt or decrypt.