Nanobots Protecting Microbots

    vuze-spoof-id

    1.0.0 • Public • Published

    vuze-spoof-id

    travis npm license downloads Code Climate Test Coverage

    Example

    const spoof = require('vuze-spoof-id')
     
    var key = spoof.key()
    var id = spoof.id('1.2.3.4', key) // id is number

    API

    key(): Buffer

    Randomly generated key spoof key. Generated at the start dht agent.

    id(ip: String, spoof_key: Buffer): Number

    Return id for ipv4 address ip.

    License

    MIT, 2016 (c) Dmitry Tsvettsikh

    Install

    npm i vuze-spoof-id

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • reklatsmasters