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)
void
decrypt(OutputStream decodedStream, byte[] data, String password)
byte[]
encrypt(byte[] data, String password)
void
encrypt(OutputStream encodedStream, byte[] data, String password)
String
infoLine()
-
-
-
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()
-
-