Enum EncryptionMode
Specifies an encryption mode to use with Sodium.
Namespace: DisCatSharp.VoiceNext.Codec
Assembly: DisCatSharp.VoiceNext.dll
Syntax
public enum EncryptionMode
Fields
Name | Description |
---|---|
XSalsa20Poly1305 | The nonce consists of the RTP header. Nothing is appended to the packet. |
XSalsa20Poly1305Lite | The nonce is an incrementing uint32 value. It is encoded as big endian value at the beginning of the nonce buffer. The 4 bytes are also appended at the end of the packet. |
XSalsa20Poly1305Suffix | The nonce consists of random bytes. It is appended at the end of a packet. |