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

ssb-keys

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-keys

create or load a keypair file for secure-scuttlebutt

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
78
decreased by-64.86%
Maintainers
1
Weekly downloads
 
Created
Source

SSB-Keys

A common module for secure-scuttlebutt projects, provides an API to create or load elliptic-curve keypairs.

var ssbkeys = require('ssb-keys')

ssbkeys.create(path, function(err, k) {
  console.log(k) /* => {
    id: Buffer(...),
    public: Buffer(...),
    private: Buffer(...)
  }*/
})

ssbkeys.load(path, function(err, k) {
  console.log(k) /* => {
    id: Buffer(...),
    public: Buffer(...),
    private: Buffer(...)
  }*/
})

var k = ssbkeys.createSync(path)
console.log(k) /* => {
  id: Buffer(...),
  public: Buffer(...),
  private: Buffer(...)
}*/

FAQs

Package last updated on 29 Oct 2014

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