This function encrypts the plain text to cipher text using the key provided. You'll have to use the same key for decryption @param _plainText Plain text to be encrypted @param _key Encryption Key. You'll have to use the same key for decryption @param _iv initialization Ve
(String _plainText, String _key, String _iv)
| 224 | */ |
| 225 | |
| 226 | public String encrypt(String _plainText, String _key, String _iv) |
| 227 | throws InvalidKeyException, UnsupportedEncodingException, |
| 228 | InvalidAlgorithmParameterException, IllegalBlockSizeException, |
| 229 | BadPaddingException { |
| 230 | return encryptDecrypt(_plainText, _key, EncryptMode.ENCRYPT, _iv); |
| 231 | } |
| 232 | |
| 233 | /*** |
| 234 | * This funtion decrypts the encrypted text to plain text using the key |
no test coverage detected