GcmPacketWriter.protect
ubyte[] protect(const(ubyte)[] payload)Frames and protects one payload.
Parameters
payload | Message bytes including the message-number byte. |
Returns
The complete wire packet: length, ciphertext, tag.
ubyte[] protect(const(ubyte)[] payload)Frames and protects one payload.
payload | Message bytes including the message-number byte. |