libsodium-delphi, or libsodium for Delphi, is a Delphi/FreePascal wrapper around libsodium. libsodium is a portable and relatively easy to use implementation of Daniel Bernstein's fantastic NaCl library.
NaCl is a great encryption, hashing, and authentication library that is designed to make proper implementation easy and straight-forward. By using it (or a wrapper), many of the finer details (including speed-optimization) are abstracted away so the programmer doesn't need to worry about them. NaCl itself is less than portable C, only targeted for *nix systems. libsodium makes the library portable, and adds additional conveniences to make the library easily standardized across multiple platforms, operating systems, and languages.
Crypto is very tricky to implement correctly. With this library, you are much more likely to get it correct out of the box, by implementing solid encryption standards and practices without materially effecting performance.
Windows: For Windows, the
libsodium library is included in the release packages, along with an executable demo.
Requirements & Versions
libsodium-delphi works with either the 32-bit or 64-bit libsodium.dll library version 1.0.11 (recent previous releases should work as well). Click here for precompiled libsodium DLLs.