This funtion decrypts the encrypted text to plain text using the key provided. You'll have to use the same key which you used during encryprtion @param _encryptedText Encrypted/Cipher text to be decrypted @param _key Encryption key which you used during encryption @param _iv
(String _encryptedText, String _key, String _iv)
| 249 | * @throws BadPaddingException |
| 250 | */ |
| 251 | public String decrypt(String _encryptedText, String _key, String _iv) |
| 252 | throws InvalidKeyException, UnsupportedEncodingException, |
| 253 | InvalidAlgorithmParameterException, IllegalBlockSizeException, |
| 254 | BadPaddingException { |
| 255 | return encryptDecrypt(_encryptedText, _key, EncryptMode.DECRYPT, _iv); |
| 256 | } |
| 257 | |
| 258 | /** |
| 259 | * this function generates random string for given length |
nothing calls this directly
no test coverage detected