mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Unlike hex encoding, due to optional padding, computing the correct size is not straightforward. Ensuring that the string ends with `\0` is fine, but if the size is not exact, some unrelated data might be send around by the application. So, zero it to be safe.