ebcc2a6636
These functions are a little bit special, because unlike everything else, they do dynamic memory allocations, and are more likely to fail. Applications are expected to check the return code, and these functions are tagged with ((warn_unused_result)) but applications may still ignore these. This is also an issue with JavaScript, when total memory hasn't been properly configured. To be safe, fill the buffer with non-deterministic bytes, that are unlikely to ever verify later. |
||
---|---|---|
.github/workflows | ||
build-aux | ||
builds | ||
contrib | ||
dist-build | ||
m4 | ||
msvc-scripts | ||
packaging | ||
regen-msvc | ||
src | ||
test | ||
.gitignore | ||
aclocal.m4 | ||
appveyor.yml | ||
AUTHORS | ||
autogen.sh | ||
azure-pipelines.yml | ||
build.zig | ||
ChangeLog | ||
configure | ||
configure.ac | ||
lgtm.yml | ||
libsodium-uninstalled.pc.in | ||
libsodium.pc.in | ||
libsodium.sln | ||
libsodium.vcxproj | ||
libsodium.vcxproj.filters | ||
LICENSE | ||
logo.png | ||
Makefile.am | ||
Makefile.in | ||
README.markdown | ||
THANKS |
Sodium is a new, easy-to-use software library for encryption, decryption, signatures, password hashing and more.
It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further.
Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.
Sodium supports a variety of compilers and operating systems, including Windows (with MingW or Visual Studio, x86 and x64), iOS, Android, as well as Javascript and Webassembly.
Documentation
The documentation is available on Gitbook and built from the libsodium-doc repository:
- libsodium documentation - online, requires Javascript.
Integrity Checking
The integrity checking instructions (including the signing key for libsodium) are available in the installation section of the documentation.
Community
A mailing-list is available to discuss libsodium.
In order to join, just send a random mail to sodium-subscribe
{at}
pureftpd
{dot} org
.