This is a small hashing app I wrote to quickly hash files. It includes a web API as well as a web app front-end.
The web app front-end is currently deployed to https://hashit.davidlwatsonjr.com/.
The web API is also at https://hashit.davidlwatsonjr.com/. It simply requires submitting the file as a multipart/form-data
POST
request with the file
field. An optional algorithm
field can be used in the body of the POST
request or as a query parameter to specify the hashing algorithm to use. If not supplied, the default algorithm is sha256
.
Hashing myfile.txt with sha256:
curl -F "file=@myfile.txt" https://hashit.davidlwatsonjr.com
Hashing myfile.txt with md5:
curl -F "file=@myfile.txt" https://hashit.davidlwatsonjr.com/?algorithm=md5
The source code can be found at https://github.com/davidlwatsonjr/hashit.
TODO Instructions on running locally using Docker to be added here.