com.maverick.ssh.components.standalone
Class AES256Ctr
java.lang.Object
com.maverick.ssh.components.SshCipher
com.maverick.ssh.components.standalone.AES256Ctr
public class AES256Ctr
- extends SshCipher
256 bit Counter Mode AES cipher
- Author:
- Lee David Painter
|
Method Summary |
int |
getBlockSize()
|
void |
init(int mode,
byte[] iv,
byte[] keydata)
|
int |
processBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
|
void |
transform(byte[] in,
int start,
byte[] output,
int offset,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AES256_CTR
public static final String AES256_CTR
- See Also:
- Constant Field Values
AES256Ctr
public AES256Ctr()
transform
public void transform(byte[] in,
int start,
byte[] output,
int offset,
int len)
throws IOException
- Specified by:
transform in class SshCipher
- Throws:
IOException
init
public void init(int mode,
byte[] iv,
byte[] keydata)
throws IOException
- Specified by:
init in class SshCipher
- Throws:
IOException
getBlockSize
public int getBlockSize()
- Specified by:
getBlockSize in class SshCipher
processBlock
public int processBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.