Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
A small package for generating cryptographically secure UIDs in the browser, safe for both cookie and URL usage.
This package is a mirror of uid-safe, but meant to be used in a browser env. Additionally, it comes bundled with TypeScript typings.
You can install this package from NPM:
npm add crypto-uid
Or with Yarn:
yarn add crypto-uid
For CDN, you can use unpkg:
https://unpkg.com/crypto-uid/dist/bundles/crypto-uid.umd.min.js
The global namespace for crypto-uid is cryptoUid
:
const id = cryptoUid(6);
Generate a random UID:
import uid from 'crypto-uid';
const id = uid(6);
Generate a random UID:
const uid = require('crypto-uid');
const id = uid(6);
You can expect this lib to run wherever Web Crypto API is supported.
If you wish to contribute, please use the following guidelines:
[ci skip]
in commit messages to skip a buildFAQs
Cryptographically secure UIDs
The npm package crypto-uid receives a total of 15 weekly downloads. As such, crypto-uid popularity was classified as not popular.
We found that crypto-uid 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.