A minimal base64 implementation for number arrays.
Base64 encoding/decoding in pure JS
Encode/decode base64 data into ArrayBuffers
High-performance Base64 encoder and decoder
Yet another Base64 transcoder in pure-JS
A robust base64 encoder/decoder that is fully compatible with `atob()` and `btoa()`, written in JavaScript.
A fast Base64 decoder with a low level API. If you want a high level API, look at [base64-js](https://github.com/beatgammit/base64-js).
Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.
Base64 coder.
Base64 encoding and decoding
Encode/decode base64 data into ArrayBuffers
Base64 encoding and decoding helping util. Created for React Native but can be used anywhere
Generate a image to base64.
Base64 encode, decode, escape and unescape for URL applications
A native implementation of base64 in C++ for React Native
Secure, audited & 0-dep implementation of base64, bech32, base58, base32 & base16
TypeScript definitions for base64-stream
Base64 streaming encoder and decoder
Predicate that returns true if base64 string.
base64 implementation in solidity
TypeScript definitions for base64-url
A collection of utilities for better-auth
Encode/decode base64 data into ArrayBuffers
Contains new Node.js v0.10 style stream classes for encoding / decoding Base64 data
Cipher easy encrypt and decrypt Aes256, Base64 Encode and Decode.
If you were to be an onmyoji (an yin-yang exorcist), this gem would help your work. This gem provides the functions that encodes/decodes Base64 written in hexagrams, the figures used in I Ching. The API is compatible with the Base64 library in the Ruby Standard Library, so it is very easy to make your application more yin-yang-ful.
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.
Sym is a ruby library (gem) that offers both the command line interface (CLI) and a set of rich Ruby APIs, which make it rather trivial to add encryption and decryption of sensitive data to your development or deployment workflow. For additional security the private key itself can be encrypted with a user-generated password. For decryption using the key the password can be input into STDIN, or be defined by an ENV variable, or an OS-X Keychain Entry. Unlike many other existing encryption tools, Sym focuses on getting out of your way by offering a streamlined interface with password caching (if MemCached is installed and running locally) in hopes to make encryption of application secrets nearly completely transparent to the developers. Sym uses symmetric 256-bit key encryption with the AES-256-CBC cipher, same cipher as used by the US Government. For password-protecting the key Sym 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. Sym accomplishes encryption transparency by combining several convenient features: 1. Sym can read the private key from multiple source types, such as pathname, an environment variable name, a keychain entry, or CLI argument. You simply pass either of these to the -k flag — one flag that works for all source types. 2. By utilizing OS-X Keychain on a Mac, Sym offers truly secure way of storing the key on a local machine, much more secure then storing it on a file system, 3. By using a local password cache (activated with -c) via an in-memory provider such as memcached, sym invocations take advantage of password cache, and only ask for a password once per a configurable time period, 4. By using SYM_ARGS environment variable, where common flags can be saved. This is activated with sym -A, 5. By reading the key from the default key source file ~/.sym.key which requires no flags at all, 6. By utilizing the --negate option to quickly encrypt a regular file, or decrypt an encrypted file with extension .enc 7. By implementing the -t (edit) mode, that opens an encrypted file in your $EDITOR, and replaces the encrypted version upon save & exit, optionally creating a backup. 8. By offering the Sym::MagicFile ruby API to easily read encrypted files into memory. Please refer the module documentation available here: https://www.rubydoc.info/gems/sym
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.