public final class LinkEncryption
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
OVERHEAD |
| Constructor and Description |
|---|
LinkEncryption(byte[] linkKey) |
| Modifier and Type | Method and Description |
|---|---|
IPacket |
decrypt(byte[] packetBytes) |
int |
encrypt(IPacket packet,
byte[] encryptedBytes) |
public static final int OVERHEAD
public int encrypt(IPacket packet, byte[] encryptedBytes) throws EncryptionFailed
EncryptionFailedpublic IPacket decrypt(byte[] packetBytes) throws DecryptionFailed
DecryptionFailedCopyright © 2023. All rights reserved.