Changes for version 0.000036

  • important update: return protected memory from pwhash function. the output is intended to be used as a secret, and this was an oversight in the original implementation.
  • add new importable shortcut functions to memvault constructors
  • replace undocumented memvault new_from_ttyno constructor with new_from_tty. this remains undocumented and not recommended for use pending further review.

Documentation

simple passphrase-based encryption and decryption
perl implementation of minisign

Modules

perl XS bindings for libsodium
libsodium low-level functions
Protected memory objects
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
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 over the edwards25519 curve
Secret key authenticated encryption
Secret key authenticated encryption for multiple in-order messages
Short-input hashing
Asymmetric (public/secret key) signatures and verification
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
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/Base64.pm
in lib/Crypt/Sodium/XS/OO/Base.pm
in lib/Crypt/Sodium/XS/ProtMem.pm
in lib/Crypt/Sodium/XS/Util.pm