public interface Decryptor extends Destroyable
Encryptor.| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] encrypted)
Decrypts the encrypted byte array and fills it with zeros.
|
destroy, isDestroyedbyte[] decrypt(byte[] encrypted)
throws WrongKeyException
If the encrypted data was not generated with the "right" Encryptor, then this method either
returns garbled data, or throws a WrongKeyException.
WrongKeyException - The decryption key is wrongCopyright © 2018 Arno Unkrig. All rights reserved.