Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@favware/crypto
Advanced tools
Project Status
Bundle Sizes
Social Media and Donations
This package is a full rework of my old package csprng-64
but now far better. I decided to release it as a completely separate package and deprecate the previous one as the entire code base was changed and I wasn't fond of the previous name either.
Key Features
crypto.randomBytes()
. Numbers can be of any magnitude and in any base from 2 to 64.yarn add @favware/crypto
# npm install @favware/crypto
Call the function passing the number of required bits, and the radix of the output.
const { crypto } = require('@favware/crypto');
// import crypto from '@favware/crypto';
// Takes a bit length and base parameter
// base examples are base64 or base32
crypto(160, 64);
// You can also import the predefined Radix's so you can be sure you're using a supported radix
const { Radix } = require('@favware/crypto');
// import Radix from '@favware/crypto'
crypto(160, Radix.base64);
FAQs
Secure random numbers of any size in any base
The npm package @favware/crypto receives a total of 15 weekly downloads. As such, @favware/crypto popularity was classified as not popular.
We found that @favware/crypto 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.