nettle
brew install nettleAlso known as: libnettle, nettle@4
Low-level cryptographic library
https://www.lysator.liu.se/~nisse/nettle/
License: GPL-2.0-or-later OR LGPL-3.0-or-later
Development: Pull requests
Formula JSON API: /api/formula/nettle.json
Formula code: nettle.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 4.0 |
Other versions:
| nettle@3 | 3.10.2 | Low-level cryptographic library |
Depends on:
| gmp | 6.3.0 | GNU multiple precision arithmetic library |
Uses from macOS: m4 (build)
Binaries:
nettle-hash,
nettle-lfib-stream,
nettle-pbkdf2,
pkcs1-conv,
sexp-conv
GitHub Packages downloads:
| Last 30 days | 446,071 |
|---|---|
| Downloads | 35,283,610 |
| Analytics install events (30 days) | 35,909 |
| Downloads / install events (30 days) | 12.4× |
Source: GitHub Packages, fetched 2026-11-08T00:52:35Z. Analytics dates: 2026-10-09 to 2026-11-08. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 35,909 | 93,752 | 630,167 |
Installs (--HEAD) | 0 | 2 | 15 |
| Installs on Request | 267 | 742 | 6,086 |
Installs on Request (--HEAD) | 0 | 1 | 3 |
| Build Errors | 1 |