Package org.xlattice.crypto.filters
Class KeySelector.GenericBitSelector
- java.lang.Object
-
- org.xlattice.crypto.filters.KeySelector.GenericBitSelector
-
- All Implemented Interfaces:
KeySelector.BitSelector
- Enclosing class:
- KeySelector
public class KeySelector.GenericBitSelector extends Object implements KeySelector.BitSelector
Extracts the k bit offsets from a key, suitable for general values of m and k.
-
-
Constructor Summary
Constructors Constructor Description GenericBitSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getBitSelectors(byte[] b, int offset, int length, int[] bitOffset)
Do the extraction
-
-
-
Method Detail
-
getBitSelectors
public void getBitSelectors(byte[] b, int offset, int length, int[] bitOffset)
Do the extraction- Specified by:
getBitSelectors
in interfaceKeySelector.BitSelector
bitOffset
- Out parameter of length k
-
-