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.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

EasyKey

Generate cryptographically secure keypairs

  • Works in both node and the browser
  • Zero dependencies

Usage

Node

npm i easykey
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="coming soon"></script>

API

new EasyKey()

Create a new instance

easyKey.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