|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All modules must implement the methods defined by this class to work properly with the Class Encrypt Encryption Program.
Method Summary | |
byte[] |
decrypt(java.io.File file)
This method is used for decrypting files that were encrypted by the specific algorithm. |
java.io.File |
encrypt(java.io.File file)
This method is for encrypting a single file. |
void |
setKey(byte[] key)
This method is used to set the key for the encryption algorithm module. |
Methods inherited from interface ModInterface |
handles |
Method Detail |
public java.io.File encrypt(java.io.File file) throws java.lang.Exception
java.lang.Exception
- This is just in case your implementation throws junkpublic byte[] decrypt(java.io.File file) throws java.lang.Exception
java.lang.Exception
- This is just in case your implementation throws junkpublic void setKey(byte[] key) throws java.lang.Exception
java.lang.Exception
- This is just in case your implementation throws junk
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |