|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICipher
The interface every cipher must implement.
Method Summary | |
---|---|
byte[] |
decrypt(byte[] data)
Decrypts an array of bytes. |
byte[] |
encrypt(byte[] data)
Encrypts an array of bytes. |
Method Detail |
---|
byte[] encrypt(byte[] data) throws CipherException
data
- the array to be encrypted.
CipherException
- if this method cannot encrypt the data.byte[] decrypt(byte[] data) throws CipherException
data
- the array to be decrypted.
CipherException
- if this method cannot decrypt the data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |