modp-groups

0.0.0 • Public • Published

modp-groups

MODP groups used by node core for Diffie-Hellman key exchange.

Generated following the specs

Usage

var getGroup = require('modp-groups');
 
var group = getGroup('modp5');
// => { prime: <BigNumber>, generator: 2 }

API

getGroup(id)

Get the group with the given id, which has the two keys prime — which is a bignumber — and generator.

getGroup.ids

All the available group names.

Installation

With npm do:

npm install modp-groups

License

The MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    2

Package Sidebar

Install

npm i modp-groups

Weekly Downloads

2

Version

0.0.0

License

MIT

Last publish

Collaborators

  • juliangruber