Skip to content

2b1q/hasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hasher

simple file hasher using node.js crypto

Usage

$ node hasher.js <file_name> <hash_type>
$ node hasher.js my_file sha256

if <hash_type> not passed => <hash_type> = md5

Use docker container without GIT clone

  • Pull IMG, Run hasher and remove container
docker run --rm -v ~/Downloads/20150922120001.mp4:/file 2b1q/hasher /file 'sha256'

Use GIT and Docker

  1. git clone
$ git clone https://github.com/2b1q/hasher.git
  1. install docker
  2. build docker container
$ docker build -t hasher .
  1. run hasher container. pass file & args
$ docker run -v ~/Downloads/myFile.png:/1 --rm hasher /1 sha256

Demo 1 (not containerized app)

Demo 2 (docker containerized app)

About

simple file hasher using node.js crypto

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published