net.sf.opensmus
Class MUSBlowfishCypher
java.lang.Object
net.sf.opensmus.MUSBlowfishCypher
public class MUSBlowfishCypher
- extends java.lang.Object
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 |
MUSBlowfishCypher
public MUSBlowfishCypher()
MUSBlowfishCypher
public MUSBlowfishCypher(byte[] bfkey)
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)