22 stable releases (6 major)

7.4.0 Mar 12, 2024
7.3.0 May 16, 2023
7.2.2 Mar 15, 2023
7.2.0 May 11, 2022
1.0.0 Nov 6, 2018

#2399 in Cryptography

Download history 2074/week @ 2025-02-02 2552/week @ 2025-02-09 2660/week @ 2025-02-16 4020/week @ 2025-02-23 3889/week @ 2025-03-02 3565/week @ 2025-03-09 2974/week @ 2025-03-16 1822/week @ 2025-03-23 2462/week @ 2025-03-30 2452/week @ 2025-04-06 3031/week @ 2025-04-13 3376/week @ 2025-04-20 2508/week @ 2025-04-27 2340/week @ 2025-05-04 1700/week @ 2025-05-11 2336/week @ 2025-05-18

9,112 downloads per month
Used in 40 crates (5 directly)

LGPL-3.0 OR GPL-2.0 OR GPL-3.0

2MB
21K SLoC

nettle

Rust bindings for the Nettle cryptographic library.

The documentation for the latest version can also be found here.

Windows

The bindings can be compiled using Mingw-w64 or the MSVC toolchain.

In the MSYS2/mingw64 environment, you can install the toolchain and Nettle by running:

$ pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-pkg-config mingw-w64-x86_64-nettle

For MSVC, first install the "Build Tools for Visual Studio". Then, install Nettle, for example from MSYS2:

$ pacman -S libnettle-devel

License

This project is licensed under either of

at your option.

Dependencies

~0.7–5MB
~85K SLoC