anon.client.crypto
Class FirstMixCipher
java.lang.Object
anon.client.crypto.FirstMixCipher
- All Implemented Interfaces:
- IMixCipher
public class FirstMixCipher
- extends java.lang.Object
- implements IMixCipher
- Author:
- Stefan Lieske
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_firstEncryptionPacket
private boolean m_firstEncryptionPacket
m_mixCipher
private SymCipher m_mixCipher
m_channelSymCipher
private SymCipher m_channelSymCipher
FirstMixCipher
public FirstMixCipher(SymCipher a_mixCipher,
SymCipher a_channelSymCipher)
encrypt
public byte[] encrypt(byte[] a_packet,
int a_virtualPacketLength,
java.util.Vector a_sendCallbackHandlers)
- Specified by:
encrypt
in interface IMixCipher
decrypt
public void decrypt(byte[] a_packet)
- Specified by:
decrypt
in interface IMixCipher
getNextPacketEncryptionOverhead
public int getNextPacketEncryptionOverhead()
- Specified by:
getNextPacketEncryptionOverhead
in interface IMixCipher