Class NullCipher

java.lang.Object
com.trilead.ssh2.crypto.cipher.NullCipher
All Implemented Interfaces:
BlockCipher

public class NullCipher extends Object implements BlockCipher
NullCipher.
  • Constructor Details

    • NullCipher

      public NullCipher()
    • NullCipher

      public NullCipher(int blockSize)
  • Method Details

    • init

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

      public int getBlockSize()
      Specified by:
      getBlockSize in interface BlockCipher
    • transformBlock

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