Socket
Socket
Sign inDemoInstall

mnemonic

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mnemonic

An implementation of Electrum's mnemonic in JavaScript


Version published
Weekly downloads
12
decreased by-7.69%
Maintainers
1
Weekly downloads
 
Created

Readme

Source

mnemonic

Implementation of Electrum's mnemonic in JavaScript

Usage

npm install mnemonic

var mnemonic = require('mnemonic')
var wlist = [
  "spiral", "squeeze", "strain", "sunset", "suspend", "sympathy",
  "thigh", "throne", "total", "unseen", "weapon", "weary"
]
mnemonic.decode(wlist) // => '0028644c0028644f0028645200286455'
mnemonic.encode('0028644c0028644f0028645200286455') // => wlist

Credits

  • Wordlist and implementation are ported from Electrum
  • Some of the test cases are stolen from mnemonic.js

FAQs

Package last updated on 24 Feb 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc