Naive Props Mutation

    hex2words

    1.1.6 • Public • Published

    hex2words Build Status

    Given a string of hex values, a PGP thumbprint or SHA hash for example, return an array of PGP words.

    var words = parse('E582')

    Will return:

      [
        'topmost',
        'Istanbul'
      ]

    api

    words = parse(input)

    Parses either a hex input string, or Buffer, and returns an array of PGP words.

    input

    A hex formatted string or a Buffer.

    // these are identical
    var words = parse('E582')
    var words = parse(new Buffer('E582', 'hex'))
    var words = parse(new Buffer([ 229, 130 ]))

    license

    VOL

    Keywords

    none

    Install

    npm i hex2words

    DownloadsWeekly Downloads

    11

    Version

    1.1.6

    License

    VOL

    Last publish

    Collaborators

    • saibotsivad