libsodium for Delphi/FreePascal - A secure cryptographic library
Latest commit de2e05d Aug 28, 2016 @alexpmorris committed on GitHub Update
Failed to load latest commit information.
LibSodium.pas v0.13 Jun 27, 2016 Update Aug 28, 2016
license Create license Aug 19, 2015
lsDemo.cfg first commit Aug 6, 2015
lsDemo.dof first commit Aug 6, 2015
lsDemo.dpr v0.11 Aug 8, 2015
lsDemo.dproj v0.11 Aug 8, 2015
lsDemo.drc first commit Aug 6, 2015
lsDemo.dsk first commit Aug 6, 2015
lsDemo.res first commit Aug 6, 2015

libsodium-delphi License

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.


Between the Delphi demo application, and the original libsodium documentation library written by Frank Denis (@jedisct1), you should have all you need to get going.

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.


NaCl has been released to the public domain to avoid copyright issues. libsodium is subject to the ISC license, and this software is subject to the MIT license (see license).