Exemple #1
0
 public static BigInteger encrypt(PublicKey k, BigInteger m) {
   return m.modPow(k.getE(), k.getN());
 }