Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@brixtol/cryptographer
Advanced tools
Cryptographer with IV used for encryption and decryption of various data types with crypto. Uses an aes-256-gcm algorithm and supports multiple ciphers.
For encryption/decryption of sensitive data sent across the wire and processed within serverless functions. We opened sourced the package which is merely a wrapper for encryption/decryption with Crypto.
pnpm add @brixtol/cryptographer
import { Cryptographer, md5 } from "@brixtol/cryptographer";
const crypto = Cryptographer(
secret: "secret"
, algorithm?: "aes-256-ctr"
, options?: CipherCCMOptions
);
// Encoding
crypto.encode({ foo: "bar" });
// Decoding, eg: { foo: "bar" }
crypto.decode("12345678910abcdefghijkmnopqrstuvwxyz");
// Create a md5 hash
md5('hello world') // => 5eb63bbbe01eeed093cb22bb8f5acdc3
Licensed under MIT
We ♡ open source!
v0.3.1 - 04/10/2021
FAQs
Encrypt and decrypt strings, numbers and objects
We found that @brixtol/cryptographer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.