You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message encryption and decryption are performed using the ChaCha20 stream cipher. Because no padding is applied, the length of encrypted messages is trivially leaked, and is equal to the length of the resulting ciphertext. Additionally, header data like the message type is sent in the clear. An adversary may be able to infer additional information from this.
Mitigations include:
Fixing the length of all messages, and padding messages to this length
Discretizing the length of allowed messages, which may leak less information
It's important to ensure that no padding-related attacks are introduced by such mitigations.
The text was updated successfully, but these errors were encountered:
Message encryption and decryption are performed using the
ChaCha20
stream cipher. Because no padding is applied, the length of encrypted messages is trivially leaked, and is equal to the length of the resulting ciphertext. Additionally, header data like the message type is sent in the clear. An adversary may be able to infer additional information from this.Mitigations include:
It's important to ensure that no padding-related attacks are introduced by such mitigations.
The text was updated successfully, but these errors were encountered: