org.apache.sshd.common.cipher
Class ARCFOUR256

java.lang.Object
  extended by org.apache.sshd.common.cipher.BaseCipher
      extended by org.apache.sshd.common.cipher.ARCFOUR256
All Implemented Interfaces:
Cipher

public class ARCFOUR256
extends BaseCipher

ARCFOUR256 cipher

Author:
Apache MINA SSHD Project

Nested Class Summary
static class ARCFOUR256.Factory
          Named factory for AES128CTR Cipher
 
Nested classes/interfaces inherited from interface org.apache.sshd.common.Cipher
Cipher.Mode
 
Field Summary
 
Fields inherited from class org.apache.sshd.common.cipher.BaseCipher
algorithm, bsize, cipher, ivsize, transformation
 
Constructor Summary
ARCFOUR256()
           
 
Method Summary
 void init(Cipher.Mode mode, byte[] key, byte[] iv)
          Initialize the cipher for encryption or decryption with the given private key and initialization vector
 
Methods inherited from class org.apache.sshd.common.cipher.BaseCipher
getBlockSize, getIVSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARCFOUR256

public ARCFOUR256()
Method Detail

init

public void init(Cipher.Mode mode,
                 byte[] key,
                 byte[] iv)
          throws java.lang.Exception
Description copied from interface: Cipher
Initialize the cipher for encryption or decryption with the given private key and initialization vector

Specified by:
init in interface Cipher
Overrides:
init in class BaseCipher
Throws:
java.lang.Exception


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.