Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilanolkies/sha3-256-tool
sha3 256 converter js and command line tool.
https://github.com/ilanolkies/sha3-256-tool
Last synced: 4 days ago
JSON representation
sha3 256 converter js and command line tool.
- Host: GitHub
- URL: https://github.com/ilanolkies/sha3-256-tool
- Owner: ilanolkies
- License: mit
- Created: 2018-09-07T16:44:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T18:50:06.000Z (over 5 years ago)
- Last Synced: 2024-10-12T05:48:41.060Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sha3-256-tool
sha3 256 converter js and command line tool## Setup
- [Node.js](https://nodejs.org/es/download/)
- [npm](https://www.npmjs.com/get-npm)```bash
npm install
```## Usage
```
node sha3-256.js
#or
npm startsha3> string-to-hash
```### Options
Init separating options with sapces:
```
node sha3-256.js opt1 opt2
#or
npm start opt1 opt2sha3> 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
```bash
npm test
```