# Functions
BuildAad build aad of Cipher.
BuildCipherBytes builds bytes of Cipher (encrypted mode).
BuildNoCipherBytes builds bytes of Cipher (unencrypted mode).
BuildRawBytes build raw bytes of Cipher.
ParseBytes converts bytes to Cipher ID of message: 8 bytes Encrypted, First, Last, Request/Response, Tag, Type (3 bits): 1 byte Length of Name (nName): 1 byte Tag: if flag of tag = 1 then 8 bytes, otherwise 0 byte AUTHEN_TAG: if encrypted is true then 16 bytes, otherwise 0 byte IV: if encrypted is true then 12 bytes, otherwise 0 byte Sign: if encrypted is false then 32 bytes (HMAC-SHA256), otherwise 0 byte Name: nName bytes Data: remaining bytes.
# Constants
MaxConnectionNameLength is max length of connections's name.
TypeActivation is type of activation message.
TypeDone is type of done message.
TypeGroup is type of group message (message sent to a group of connections).
TypeGroupCached is type of group message (message sent to a group of connections and cached on system).
TypeSingle is type of single message (message sent to another connection).
TypeSingleCached is type of single message (message sent to another connection and cached on system).
# Type aliases
MessageType is type of message (data) in Cipher.