MODP groups commonly used for Diffie-Hellman


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

Generated following the specs

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

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

All the available group names.

With npm do:

npm install modp-groups

The MIT license.