Interface CypherInterface
-
- All Known Implementing Classes:
CypherAES,CypherAES256
public interface CypherInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]decrypt(byte[] encryptedData, String password)voiddecrypt(OutputStream decodedStream, byte[] data, String password)byte[]encrypt(byte[] data, String password)voidencrypt(OutputStream encodedStream, byte[] data, String password)StringinfoLine()
-
-
-
Method Detail
-
decrypt
void decrypt(OutputStream decodedStream, byte[] data, String password) throws IOException
- Throws:
IOException
-
decrypt
byte[] decrypt(byte[] encryptedData, String password) throws IOException- Throws:
IOException
-
encrypt
void encrypt(OutputStream encodedStream, byte[] data, String password) throws IOException
- Throws:
IOException
-
encrypt
byte[] encrypt(byte[] data, String password) throws IOException- Throws:
IOException
-
infoLine
String infoLine()
-
-