jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.08k stars 1.72k forks source link

What is crypto_*_ABYTES? #1071

Closed etkaar closed 3 years ago

etkaar commented 3 years ago

Is the constant crypto_*_ABYTES (such as crypto_aead_xchacha20poly1305_ietf_ABYTES) the header size, thus the ciphertext size is size_bytes_ciphertext = len(bytes_plain_text) + *_ABYTES?