edu.harvard.deas.hyperenc
Interface PageShuffler
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- BasicPageShuffler
public interface PageShuffler
- extends Serializable
Permutes the bits within a page in some prescribed manner.
Method Summary |
byte[] |
shufflePage(byte[] block,
byte[] page)
Shuffles a page of bytes. |
shufflePage
byte[] shufflePage(byte[] block,
byte[] page)
- Shuffles a page of bytes.
- Parameters:
block
- Block to shuffle page with;page
- Page to be shuffled.
- Returns:
- Shuffled page.