Package com.trilead.ssh2.crypto.cipher
Class NullCipher
java.lang.Object
com.trilead.ssh2.crypto.cipher.NullCipher
- All Implemented Interfaces:
BlockCipher
NullCipher.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidinit(boolean forEncryption, byte[] key) voidtransformBlock(byte[] src, int srcoff, byte[] dst, int dstoff)
-
Constructor Details
-
NullCipher
public NullCipher() -
NullCipher
public NullCipher(int blockSize)
-
-
Method Details
-
init
public void init(boolean forEncryption, byte[] key) - Specified by:
initin interfaceBlockCipher
-
getBlockSize
public int getBlockSize()- Specified by:
getBlockSizein interfaceBlockCipher
-
transformBlock
public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff) - Specified by:
transformBlockin interfaceBlockCipher
-