public interface IMixCipher
Modifier and Type | Method and Description |
---|---|
boolean |
decrypt(byte[] a_packet)
Decrypts the given byte array and saves the result in place.
|
byte[] |
encrypt(byte[] a_packet,
int a_virtualPacketLength,
java.util.Vector a_sendCallbackHandlers)
Encrypts a byte array using the underlying encryption algorithm for that
mix.
|
int |
getNextPacketEncryptionOverhead()
Returns the overhead an encryption operation with this mix brings with it.
|
byte[] encrypt(byte[] a_packet, int a_virtualPacketLength, java.util.Vector a_sendCallbackHandlers)
a_packet
- The byte array to be encrypted.a_virtualPacketLength
- The minimal length of the resulting packet.a_sendCallbackHandlers
- boolean decrypt(byte[] a_packet)
a_packet
- int getNextPacketEncryptionOverhead()
Copyright © 2023. All rights reserved.