Apocrypha

libsodium

Portable fork of NaCl, a higher-level cryptographic library

NaCl (pronounced "salt") is a new easy-to-use high-speed software library for network communication, encryption, decryption, signatures, etc. NaCl's goal is to provide all of the core operations needed to build higher-level cryptographic tools. Sodium is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 1.0.22 2 15 h details ›
mva GitHub ↗ 9999 1 5 d details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmarm64-macoshppaloongm68kmipsppcs390sparcx64-macos Committed
9999 LIVE mva follows upstream — no keywords 6 mo view · download · history ↗
1.0.22 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable arm64-macos testing hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing view · download · history ↗
1.0.21_p20260122 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable arm64-macos testing hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing view · download · history ↗

Use flags of 1.0.22

  • +asm Enable using assembly for optimization
  • static-libs Build static versions of dynamic libraries as well
  • +urandom Use /dev/urandom instead of /dev/random
  • verify-sig Verify upstream signatures on distfiles
10 expansion flags (python targets, ABIs, cpu flags…)
  • cpu_flags_x86_aes
  • cpu_flags_x86_sse4_1
  • abi_x86_32
  • abi_x86_64
  • abi_x86_x32
  • abi_mips_n32
  • abi_mips_n64
  • abi_mips_o32
  • abi_s390_32
  • abi_s390_64