Class DefaultBinaryPacketEncrypter
java.lang.Object
com.tenio.core.network.zero.codec.encryption.DefaultBinaryPacketEncrypter
- All Implemented Interfaces:
BinaryPacketEncrypter
The default implementation for the binary packet encryption.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultBinaryPacketEncrypter
public DefaultBinaryPacketEncrypter()
-
-
Method Details
-
decrypt
public byte[] decrypt(byte[] binary) - Specified by:
decrypt
in interfaceBinaryPacketEncrypter
-
encrypt
public byte[] encrypt(byte[] binary) - Specified by:
encrypt
in interfaceBinaryPacketEncrypter
-