Struct EncryptedPayload
Contains the encrypted payload and the nonce used to encrypt it
struct EncryptedPayload
;
Fields
Name | Type | Description |
---|---|---|
nonce
|
ubyte[24] | Nonce used for encryption |
payload
|
ubyte[88] | The serialized & encrypted payload |
Example
always same static size, no VarInt
assert(serializeFull(Payload .init) .length == SerializedPayloadSize);