EtMPacketWriter.protect
ubyte[] protect(const(ubyte)[] payload)Frames, encrypts, and authenticates one payload.
Parameters
payload | Message bytes including the message-number byte. |
Returns
The complete wire packet: clear length, ciphertext, MAC.
ubyte[] protect(const(ubyte)[] payload)Frames, encrypts, and authenticates one payload.
payload | Message bytes including the message-number byte. |