public class XORCipher extends Object implements CryptoFilter
| Modifier and Type | Method and Description |
|---|---|
int |
read(InputStream in) |
int |
read(InputStream in,
byte[] b) |
int |
read(InputStream in,
byte[] b,
int off,
int len) |
void |
reset() |
String |
toString() |
void |
write(OutputStream out,
int ch) |
public XORCipher(String seed)
public int read(InputStream in) throws IOException
read in interface CryptoFilterIOExceptionpublic int read(InputStream in, byte[] b) throws IOException
read in interface CryptoFilterIOExceptionpublic int read(InputStream in, byte[] b, int off, int len) throws IOException
read in interface CryptoFilterIOExceptionpublic void write(OutputStream out, int ch) throws IOException
write in interface CryptoFilterIOExceptionpublic void reset()
reset in interface CryptoFilterCopyright © 2016. All rights reserved.