Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

easykeys

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easykeys

Generate cryptographically secure keypairs

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

EasyKeys

Generate cryptographically secure keypairs

  • Works in both node and the browser
  • Zero dependencies

Usage

Node

npm i easykeys
Test

Install Mocha

npm i mocha -g

Run test

npm test

The test generates 10,000 keypairs and passes if the average entropy is greater than 4.5 (6 is perfect, 0 is not sufficiently random for between 32 and 64 bit keys).

Browser

<script type="module" src="https://cdn.jsdelivr.net/gh/easypeers/easykeys@master/index.js"></script>

API

new EasyKeys()

Create a new instance

easyKeys.pair()

Return a keypair

License

MIT

Keywords

FAQs

Package last updated on 11 Aug 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc