Investigate parallelizing cipher.decrypt
calls when decoding regular/presence/state messages
#1906
Labels
enhancement
New feature or improved functionality.
See discussion in PR comments.
When decoding regular/presence (and state in future) messages we end up calling cipher.decrypt, which based on our current documentation only supports AES algorithm in CBC mode. Presumably, decryption for AES in CBC mode can be parallelized, so we may be able to improve those decoding calls using
await Promise.all
instead of doing them sequantially.┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: