4 ms·
https://download.libsodium.org/doc/secret-key_cryptography/encrypted-messages.html https://download.libsodium.org/doc/secret-key_cryptography/e... also provides
by jedisct1 9y ago
https://download.libsodium.org/doc/secret-key_cryptography/encrypted-messages.html https://download.libsodium.org/doc/secret-key_cryptography/e... also provides some guidance on how to do it when the libraries doesn't provide anything off the shelf.
Libhydrogen takes a different approach, and supports an optional "message id" (which is AD in disguise) https://github.com/jedisct1/libhydrogen/wiki/Secret-key-encryption https://github.com/jedisct1/libhydrogen/wiki/Secret-key-encr...