net.sf.opensmus
Class MUSBlowfishCypher

java.lang.Object
  extended by net.sf.opensmus.MUSBlowfishCypher

public class MUSBlowfishCypher
extends java.lang.Object


Constructor Summary
MUSBlowfishCypher()
           
MUSBlowfishCypher(byte[] bfkey)
           
 
Method Summary
 void decrypt(byte[] buffer)
           
 void decrypt(org.jboss.netty.buffer.ChannelBuffer buffer)
           
 void decrypt(org.jboss.netty.buffer.ChannelBuffer buffer, int nLen)
           
protected  long decryptBlock(long lCipherBlock)
           
 void encrypt(byte[] buffer)
           
 void encrypt(org.jboss.netty.buffer.ChannelBuffer buffer)
           
protected  long encryptBlock(long lPlainBlock)
           
 void reset()
           
 void setCBCIV(long lNewCBCIV)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MUSBlowfishCypher

public MUSBlowfishCypher()

MUSBlowfishCypher

public MUSBlowfishCypher(byte[] bfkey)
Method Detail

setCBCIV

public void setCBCIV(long lNewCBCIV)

reset

public void reset()

encrypt

public void encrypt(byte[] buffer)

encrypt

public void encrypt(org.jboss.netty.buffer.ChannelBuffer buffer)

decrypt

public void decrypt(byte[] buffer)

decrypt

public void decrypt(org.jboss.netty.buffer.ChannelBuffer buffer)

decrypt

public void decrypt(org.jboss.netty.buffer.ChannelBuffer buffer,
                    int nLen)

encryptBlock

protected long encryptBlock(long lPlainBlock)

decryptBlock

protected long decryptBlock(long lCipherBlock)