package
0.0.0-20200518211156-132967a6aa75
Repository: https://github.com/sudhagarc/libsignal-protocol-go.git
Documentation: pkg.go.dev

# Functions

NewKeys returns a new message keys structure with the given cipherKey, mac, iv, and index.
NewKeysFromStruct will return a new message keys object from the given serializeable structure.
NewStructFromKeys returns a serializeable structure of message keys.

# Constants

CipherKeyLength is the length of the actual cipher key used for messages.
DerivedSecretsSize is the size of the derived secrets for message keys.
IVLength is the length of the initialization vector in bytes.
KdfSalt is used as the Salt for message keys to derive secrets using a Key Derivation Function.
MacKeyLength is the length of the message authentication code in bytes.

# Structs

Keys is a structure to hold all the keys for a single MessageKey, including the cipherKey, mac, iv, and index of the chain key.
KeysStructure is a serializeable structure of message keys.