encode and decode base256 encoding as gnu-tar does
Encode and decode binary data to and from mnemonic words using a base-256 encoding scheme.
Secure, audited & minimal implementation of BIP39 mnemonic phrases
Format numbers for human consumption.
JWA implementation (supports all JWS algorithms)
Implementation of JSON Web Signatures
Data-Driven Documents
Sequential, diverging and categorical color schemes.
Shapes and calculators for spherical coordinates.
A collection of utilities for better-auth
jsSHA implements the complete Secure Hash Standard (SHA) family (SHA-1, SHA-224/256/384/512, SHA3-224/256/384/512, SHAKE128/256, cSHAKE128/256, and KMAC128/256) with HMAC
Promise based HTTP client for the browser and node.js
A module which will endeavor to guess your terminal's level of color support.
Resolve a URI relative to an optional base URI
An image processing library written entirely in JavaScript.
Terminal string styling done right
Default Jimp bmp encoder/decoder.
Default Jimp gif encoder/decoder.
<div align="center"> <img width="200" height="200" src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png"> <h1>@jimp/plugin-cover</h1> <p>Cover an image within a height and width.</p> </div>
<div align="center"> <img width="200" height="200" src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png"> <h1>@jimp/tiff</h1> <p>Default Jimp tiff encoder/decoder.</p> </div>
<div align="center"> <img width="200" height="200" src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png"> <h1>@jimp/plugin-circle</h1> <p>Creates a circle out of an image.</p> </div>
ANSI escape codes for styling strings in the terminal
Default Jimp tiff encoder/decoder.
Generate self signed certificates private and public keys
Response compression utilities with Brotli support
A high-performance Radix Sort implementation using base-256 for u32.
A modern, colorful tail replacement with split-pane log monitoring
Implementation of CTR DRBG based on AES-256.
Fork of hpke that adds PQ modes
An implementation of the HPKE hybrid encryption standard (RFC 9180) in pure Rust
Training data pipelines for the Brainwires Agent Framework — JSONL I/O, tokenization, deduplication, format conversion
Pure-Rust AES-256 decryptor for 7z archives, part of the 8z umbrella
High-performance X.509 certificate scanner and extractor for binary files
Archivum — deterministic, split, checksummed, compressed archive system with faithful restore
Collection of prototype implementations of lattice-based cryptography
Core data structures, algorithms, and asset management for OxiHuman
A high-performance native binding to the SHA3 (FIPS 202) cryptographic hashing algorithms, based on the XKCP - eXtended Keccak Code Package. This gem provides support for the standard SHA-3 fixed-length functions (224, 256, 384, and 512 bits), as well as the SHAKE128/SHAKE256 extendable-output functions (XOFs), cSHAKE128/256, and KMAC as specified in NIST SP 800-185.'
Easy-to-use and configure encryption and decryption library based upon OpenSSL. Currently supports AES-128-CBC and AES-256-CBC encryption protocol.
sym-crypt is a core encryption module for the symmetric encryption app (and a corresponding gem) "sym", and contains the main base serialization, encryption, encoding, compression routines. sym-crypt uses a symmetric 256-bit key with the AES-256-CBC cipher, which is the same cipher as the one used by the US Government. For encyption with a password sym-crypt uses AES-128-CBC cipher. The resulting data is zlib-compressed and base64-encoded. The keys are also base64 encoded for easy copying/pasting/etc.
BLAKE is a cryptographic hash function based on Dan Bernstein's ChaCha stream cipher, but a permuted copy of the input block, XORed with round constants, is added before each ChaCha round. Like SHA-2, there are two variants differing in the word size. ChaCha operates on a 4×4 array of words. BLAKE repeatedly combines an 8-word hash value with 16 message words, truncating the ChaCha result to obtain the next hash value. BLAKE-256 and BLAKE-224 use 32-bit words and produce digest sizes of 256 bits and 224 bits, respectively, while BLAKE-512 and BLAKE-384 use 64-bit words and produce digest sizes of 512 bits and 384 bits, respectively.
BLAKE is a cryptographic hash function based on Dan Bernstein's ChaCha stream cipher, but a permuted copy of the input block, XORed with round constants, is added before each ChaCha round. Like SHA-2, there are two variants differing in the word size. ChaCha operates on a 4×4 array of words. BLAKE repeatedly combines an 8-word hash value with 16 message words, truncating the ChaCha result to obtain the next hash value. BLAKE-256 and BLAKE-224 use 32-bit words and produce digest sizes of 256 bits and 224 bits, respectively, while BLAKE-512 and BLAKE-384 use 64-bit words and produce digest sizes of 512 bits and 384 bits, respectively.
Threshold Secret Sharing (TSS) provides a way to generate N shares from a value, so that any M of those shares can be used to reconstruct the original value, but any M-1 shares provide no information about that value. This method can provide shared access control on key material and other secrets that must be strongly protected. This gem implements a Threshold Secret Sharing method based on polynomial interpolation in GF(256) and a format for the storage and transmission of shares. This implementation follows the specification in the document: http://tools.ietf.org/html/draft-mcgrew-tss-03
Enigma is a lightweight Ruby gem designed to verify passwords hashed using Firebase's custom scrypt-based algorithm, making it ideal for seamless integrations and migrations involving Firebase authentication systems. It provides a secure, efficient way to compare a user-provided password against a stored hash without exposing sensitive details, ensuring constant-time comparisons to mitigate timing attacks. Key features include: - Full compatibility with Firebase Authentication's password hashing logic, combining scrypt with AES-256-CTR encryption for signing. - Configurable parameters for scrypt (rounds, memory cost), signer keys, and salt separators. - Secure practices using OpenSSL's fixed-length comparisons. - Support for custom logging, with easy integration into Rails or other frameworks. - Minimal dependencies, relying on the 'scrypt' gem alongside Ruby's standard library. A common use case is migrating users from Firebase to systems like Devise in Ruby on Rails. During migration, extract the user's base64-encoded salt and stored hash from Firebase, then use Enigma to verify the input password. If it matches, set the raw password in Devise to generate a new hash, avoiding forced resets and ensuring a smooth transition. Whether for custom auth systems, password audits, or hybrid setups, Enigma simplifies secure verification while prioritizing ease of use.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.