|
Steganos
1.0
Steganography for Processing
|
Public Member Functions | |
| BitBuffer (int[] carrierData, int skipBytes, int carrierMask) | |
| BitBuffer (int[] bdnData, int bdnMask, int[] mdData, int mdMask) | |
| boolean | isEmpty () |
| int | getNext () |
| int | getNext (int nbrBits) |
| int | nbrBitsSet (int mask) |
This class encapsulates an integer array and enables the data to be read one or more bits at a time. The masks are used to indicate which bits from the data are to be returned.
| org.quark.stegnos.BitBuffer.BitBuffer | ( | int[] | carrierData, |
| int | skipBytes, | ||
| int | carrierMask | ||
| ) |
Use this for reading the CARRIER data
A BitBuffer created using this constructor is suitable for reading encrypted burden data from the carrier.
| carrierData | |
| skipBytes | the elements used by the header of bytes to s |
| carrierMask |
| org.quark.stegnos.BitBuffer.BitBuffer | ( | int[] | bdnData, |
| int | bdnMask, | ||
| int[] | mdData, | ||
| int | mdMask | ||
| ) |
Use this for reading the BURDEN data
A BitBuffer created using this constructor is suitable for reading encrypted burden data when embedding into a steganograph.
| bdnData | the burden data |
| bdnMask | the burden mask |
| mdData | the meta data |
| mdMask | the meta data mask |
| int org.quark.stegnos.BitBuffer.getNext | ( | ) |
Get the next bit
| int org.quark.stegnos.BitBuffer.getNext | ( | int | nbrBits | ) |
Get a number of bits and pass back as LSB in an integer.
| nbrBits | >0 |
| boolean org.quark.stegnos.BitBuffer.isEmpty | ( | ) |
Has all the bits been read?
| int org.quark.stegnos.BitBuffer.nbrBitsSet | ( | int | mask | ) |
Calculate the number of bits set in a mask.
| mask |