Ho crittografato una stringa - "ESEMPIO" su Oracle JDK 1.7 usando il seguente codice
//ENCRYPTION of "EXAMPLE"
byte[] clearText = {69, 88, 65, 77, 80, 76, 69};
KeyPair keyPair = EncodingTest.loadRSAKeyPair();
Cipher cipher = Cipher.getInstance...
posta
07.11.2016 - 23:01