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 CryptoFilter
IOException
public int read(InputStream in, byte[] b) throws IOException
read
in interface CryptoFilter
IOException
public int read(InputStream in, byte[] b, int off, int len) throws IOException
read
in interface CryptoFilter
IOException
public void write(OutputStream out, int ch) throws IOException
write
in interface CryptoFilter
IOException
public void reset()
reset
in interface CryptoFilter
Copyright © 2019. All rights reserved.