String longText = RandomStringUtils.randomAlphanumeric(5000);
System.out.println("**Sample 1 : Encryption**");
System.out.println("Key size : [" + asymmetricKeyCipher.getKeySize() + "]");
System.out.println("Original message : [" + longText + "]");
System.out.println("Size : [" + longText.length() + "]");
byte[] tempEncrypt = asymmetricKeyCipher.encrypt(longText.getBytes());
System.out.println("**Sample 2 : Decryption**");
byte[] tempDecrypt = asymmetricKeyCipher.decrypt(tempEncrypt);
String tmpStr = new String(tempDecrypt);
System.out.println("message : [" + tmpStr + "]");
System.out.println("Size : [" + tmpStr.length() + "]");