106107108109110111112113114115116
tos.writeToStream(cOut); tos.destroy(); cOut.close(); byte []encryptedData = cipherOut.toByteArray(); cipherOut.destroy(); return encryptedData; } catch (RuntimeException e) {