org.apache.sshd.common.cipher
Class ARCFOUR128

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

public class ARCFOUR128
extends BaseCipher

ARCFOUR128 cipher

Author:
Apache MINA SSHD Project

Nested Class Summary
static class ARCFOUR128.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
ARCFOUR128()
           
 
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

ARCFOUR128

public ARCFOUR128()
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.