|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.io.ByteArrayFilter | +--sam.cipher.Cipher.ByteArrayFilter
byte[]
array filter implementation based on this
cipher.
This is useful for tranparent input/output-stream filtering
Nested Class Summary |
Nested classes inherited from class sam.io.ByteArrayFilter |
ByteArrayFilter.InputStream, ByteArrayFilter.OutputStream |
Field Summary |
Fields inherited from class sam.io.ByteArrayFilter |
length |
Constructor Summary | |
Cipher.ByteArrayFilter()
Builds a new byte[] array filter |
|
Cipher.ByteArrayFilter(int length)
Builds a new byte[] array filter of specified filter block length |
Method Summary | |
protected void |
filter(byte[] data,
int offset)
Filters the data byte[] array
from position offset up to offset + length - 1 . |
Methods inherited from class sam.io.ByteArrayFilter |
fillRandomly, filter, filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cipher.ByteArrayFilter()
byte[]
array filter
public Cipher.ByteArrayFilter(int length)
byte[]
array filter of specified filter block length
Method Detail |
protected final void filter(byte[] data, int offset)
ByteArrayFilter
data
byte[]
array
from position offset
up to offset + length - 1
.
filter
in class ByteArrayFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |