| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: decrypted data, possiblynull if decryption faileddata to decrypt encrypted, char[] decryption key password)Decrypts encrypted bytes, using the given password as decryption key. |
| decrypt | back to summary |
|---|---|
| public byte[] decrypt(byte[] encrypted, char[] password) throws GeneralSecurityException Decrypts encrypted bytes, using the given password as decryption key. The encrypted data must contain enough information about the encryption algorithm used so that it can be decrypted at all.
If the password is wrong, the method may return wrongly decrypted data. If decryption fails, it may return
The caller is responsible for eventually clearing the
| |