Class NullCipher

  • All Implemented Interfaces:
    BlockCipher

    public class NullCipher
    extends Object
    implements BlockCipher
    NullCipher.
    Version:
    $Id: NullCipher.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $
    Author:
    Christian Plattner, plattner@trilead.com
    • Constructor Detail

      • NullCipher

        public NullCipher()
      • NullCipher

        public NullCipher​(int blockSize)
    • Method Detail

      • init

        public void init​(boolean forEncryption,
                         byte[] key)
        Specified by:
        init in interface BlockCipher
      • transformBlock

        public void transformBlock​(byte[] src,
                                   int srcoff,
                                   byte[] dst,
                                   int dstoff)
        Specified by:
        transformBlock in interface BlockCipher