Tags: didactic-drunk/sodium.cr
Tags
Release 1.1.0 Sodium::Cipher::Aead::Xchacha20Poly1305Ietf New recommended AEAD algorithm. Sodium::Password Create keys based on a time cost. Hashing and Key derivation split in to separate classes. Sodium::*::PublicKey JSON and Yaml converters. Sodium::Cipher::Chalsa Add #random_bytes for use as a CSPRNG. Sodium::Nonce Reuse detection. Sodium::SecureBuffer State transitions with exceptions instead of crashes. Sodium::Kdf Use SecureBuffer to keep key unreadable until used. SecureBuffer uniformly used in most key holding classes with erase param. More documentation. More benchmarks. More specs.