Skip to content

A web application for hashing texts as well as binary files

License

Notifications You must be signed in to change notification settings

zeborg/HASHirama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License

HASHirama

HASHirama is a web application for hashing texts as well as binary files.
Try HASHirama (hosted on PythonAnywhere)

Algorithms Supported

  • BLAKE2b
  • BLAKE2s
  • MD5
  • SHA-1
  • SHA-224
  • SHA3-224
  • SHA-256
  • SHA3-256
  • SHA-384
  • SHA-512
  • SHA3-512

Installation

HASHirama uses Flask at the backend and utilizes Bootstrap 4.5 for styles.

Using HASHirama in a virtual environment:

Create and activate a virtual environment (myvirtualenv in the example below) and install the dependencies provided in requirements.txt by executing the following command:

(myvirutalenv) $ pip install -r requirements.txt

(Linux) For production environment without debug mode:

$ export FLASK_ENV=production
$ export FLASK_DEBUG=0

(Linux) For development environment with debug mode:

$ export FLASK_ENV=development
$ export FLASK_DEBUG=1

(Windows) For production environment without debug mode:

$ set FLASK_ENV=production
$ set FLASK_DEBUG=0

(Windows) For development environment with debug mode:

$ set FLASK_ENV=development
$ set FLASK_DEBUG=1

Running the app

Once the installation steps are done, CD to the directory where app.py is located and execute the following command:

(myvirtualenv) $ python3 app.py

Default maximum file upload size is 100 MB, however you can change it in __init__.py

NOTE: Use a proper WSGI instead of using the Flask production environment for better security and to avoid unusual behavior such as connection reset upon error handling. Here are a few deployment options as suggested by Flask itself.

Contributions and Improvements

They're always welcome!

About

A web application for hashing texts as well as binary files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published