JSPM

sha3-256

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q42604F
  • License MIT

sha3 256 converter js and command line tool.

Package Exports

  • sha3-256

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sha3-256) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sha3-256-tool

sha3 256 converter js and command line tool

Setup

npm install

Usage

node sha3-256.js
#or
npm start

sha3> string-to-hash

Options

Init separating options with sapces:

node sha3-256.js opt1 opt2
#or
npm start opt1 opt2

sha3> string-to-hash
  • 'in-hex': value is hex and will be parsed to string to calculate hash.
  • 'in-prefixed-hex': input is hex and has '0x' prefix, the prefix will be substracted and will be parsed to string to calculate hash.
  • 'out-prefixed': output will be prefixed with '0x'.

Do not use both 'in-hex' and 'in-prefixed-hex'

Tests

npm test