Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 2.18 KB

README.md

File metadata and controls

25 lines (13 loc) · 2.18 KB

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.

Why

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.

Installation

Windows: For Windows, the libsodium library is included in the release packages, along with an executable demo.

Documentation

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.14 (recent previous releases should work as well). Click here for precompiled libsodium DLLs.

License

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).