ch.ethz.ssh2.crypto.cipher
Class NullCipher
java.lang.Object
ch.ethz.ssh2.crypto.cipher.NullCipher
- All Implemented Interfaces:
- BlockCipher
public class NullCipher
- extends Object
- implements BlockCipher
NullCipher.
- Version:
- 2.50, 03/15/10
- Author:
- Christian Plattner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullCipher
public NullCipher()
NullCipher
public NullCipher(int blockSize)
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
Copyright © 2011. All Rights Reserved.