poc-md5-hash-gen
is a JavaScript application designed for generating MD5 hashes 🌐 of all possible string permutations from a predefined alphabet. This tool uses the hash-wasm
library and demonstrates hashing techniques and data storage management in JavaScript.
To install this project:
- Ensure Node.js is installed on your machine.
- Clone the repository or download the project source code.
- Navigate to the project directory.
- Install the required dependencies:
npm install
Before running the application, you must create an .env
file in the root of the project directory with the following database configurations:
DBHOST=your_database_host
DBPORT=your_database_port
DBUSER=your_database_username
DBPASS=your_database_password
DBNAME=your_database_name
Replace your_database_host
, your_database_port
, your_database_username
, your_database_password
, and your_database_name
with your actual database details.
Run the setup script to initialize the application:
- Execute the setup script:
This script will create a table in the specified database for storing generated hashes.
node setup.js
After completing the setup:
- Start the application by running
index.js
with a number greater than 1 as an argument:Replacenode index.js <number>
<number>
with a numerical value greater than 1. The script will generate strings based on the defined alphabet and compute their MD5 hashes, storing the results in the database.
Contributions to poc-md5-hash-gen
are appreciated:
- Fork the repository.
- Create a feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create a new Pull Request.
This project is open-sourced under the MIT License.
For support or inquiries, please contact [Your Name] at [Your Email].