001    package edu.harvard.deas.hyperenc;
002    
003    import java.io.Serializable;
004    
005    /**
006     * Applies the identity permutation to a page.
007     */
008    public class BasicPageShuffler implements PageShuffler, Serializable
009    {
010      private static final long serialVersionUID = 1L;
011            
012      /**
013       * Applies the identity permutation to <code>page</code>.
014       * @param block Ignored
015       * @param page A page of data
016       * @return <code>page</code>, unmodified.
017       */
018      public byte [] shufflePage(byte[] block, byte [] page) {
019        // do nothing
020        return page;  
021      }
022    }