Class RSA

java.lang.Object
  extended by RSA

public class RSA
extends java.lang.Object

RSA.java Trida pro sifrovani RSA sifrou


Constructor Summary
RSA(java.lang.String publicKey)
           
 
Method Summary
 java.lang.String encrypt(java.lang.String data)
          Funkce pro sifrovani RSA sifrou
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSA

public RSA(java.lang.String publicKey)
Method Detail

encrypt

public java.lang.String encrypt(java.lang.String data)
Funkce pro sifrovani RSA sifrou

Parameters:
data - Retezec, ktery ma byt zasifrovan
Returns:
Retezec s kryptogramem