Definition at line 61 of file EncryptedInputStream.java.
Public Member Functions | |
EncryptedInputStream (BlockCipher blockCipher, InputStream in) | |
Constructor for block ciphers. | |
EncryptedInputStream (StreamCipher streamCipher, InputStream in) | |
Constructor for stream ciphers. | |
void | setKey (String keyStr) |
Set the key. | |
void | setDecrypting (boolean decrypting) throws IOException |
Decrypting can be enabled or disabled temporarily. | |
int | read () throws IOException |
Read a byte of data. | |
int | read (byte[] b, int off, int len) throws IOException |
Read into an array of bytes. This is a fixed version. |