Changes for version 0.001001

  • SECURITY UPDATE (CVE-2026-30910): Combined aead encryption, combined signature creation, and bin2hex functions did not check that output size will be less than SIZE_MAX, which could lead to integer wraparound causing an undersized output buffer. This can cause a crash in bin2hex and encryption algorithms other than aes256gcm. For aes256gcm encryption and signatures, an undersized buffer could lead to buffer overflow.
  • Encountering this issue is unlikely as the message length would need to be very large.
  • Additional changes:
  • update README

Documentation

simple passphrase-based encryption and decryption
perl implementation of minisign

Modules

perl XS bindings for libsodium
libsodium base64 functions and constants
libsodium low-level functions
Protected memory objects
Memory protection functions and constants
libsodium utilities
Authenticated encryption with additional data
Secret key message authentication
Asymmetric (public/secret key) authenticated encryption
Low-level functions over Curve25519
Cryptographic hashing
SHA2 cryptographic hashing
HMAC-based Extract-and-Expand Key Derivation Function
IP address encryption
Secret subkey derivation from a main secret key
Shared key derivation from client/server asymmetric key pairs
Single-use secret key message authentication
Password hashing and verification
Point-scalar multiplication on the Curve25519 curve.
Secret key authenticated encryption
Secret key authenticated encryption for multiple in-order messages
Short-input hashing
Asymmetric (public/secret key) signatures and verification
Stream ciphers

Provides

in lib/Crypt/Sodium/XS/Base.pm
in lib/Crypt/Sodium/XS/OO/Base.pm
in lib/Crypt/Sodium/XS/aead.pm
in lib/Crypt/Sodium/XS/auth.pm
in lib/Crypt/Sodium/XS/box.pm
in lib/Crypt/Sodium/XS/curve25519.pm
in lib/Crypt/Sodium/XS/generichash.pm
in lib/Crypt/Sodium/XS/hash.pm
in lib/Crypt/Sodium/XS/hkdf.pm
in lib/Crypt/Sodium/XS/ipcrypt.pm
in lib/Crypt/Sodium/XS/kdf.pm
in lib/Crypt/Sodium/XS/kx.pm
in lib/Crypt/Sodium/XS/onetimeauth.pm
in lib/Crypt/Sodium/XS/pwhash.pm
in lib/Crypt/Sodium/XS/scalarmult.pm
in lib/Crypt/Sodium/XS/secretbox.pm
in lib/Crypt/Sodium/XS/secretstream.pm
in lib/Crypt/Sodium/XS/shorthash.pm
in lib/Crypt/Sodium/XS/sign.pm
in lib/Crypt/Sodium/XS/stream.pm