Noteworthy Programming Masterpiece
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    modp-groupspublic

    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.

    Keywords

    none

    install

    npm i modp-groups

    Downloadslast 7 days

    4

    version

    0.0.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar