https://github.com/yanichche/crack-hash
Single-page app for distributed system for cracking a hash md-5
https://github.com/yanichche/crack-hash
json koin kotlin ktor ktor-rabbitmq md-5 mongo rabbitmq replication rest-api xml
Last synced: about 2 months ago
JSON representation
Single-page app for distributed system for cracking a hash md-5
- Host: GitHub
- URL: https://github.com/yanichche/crack-hash
- Owner: YanichChe
- Created: 2025-02-22T06:48:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-06T16:44:58.000Z (about 1 year ago)
- Last Synced: 2025-04-06T17:27:40.225Z (about 1 year ago)
- Topics: json, koin, kotlin, ktor, ktor-rabbitmq, md-5, mongo, rabbitmq, replication, rest-api, xml
- Language: Kotlin
- Homepage:
- Size: 253 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CrackHash
Distributed system for cracking a hash codenamed CrackHash. Hash cracking is
implemented through a simple enumeration of a dictionary generated based on the
alphabet (brute-force).
## Logic:
* Within the system, there is a manager that accepts a request from the user containing
the MD-5 hash of a certain word, as well as its maximum length.
* The manager processes the request: generates tasks in accordance with the specified number of workers (computing nodes) for enumeration of words composed of the alphabet passed to them. Then sends them to the workers for execution.
* Each worker accepts the task, enumerates words in a given range and calculates their hash. Finds words whose hash matches the specified one, and returns the result of the work to the manager through the queue.

## Quickstart
Clone project:
```bash
git clone https://github.com/YanichChe/crack-hash.git
```
## Running
### Docker
```bash
bash run_docker_compose.sh
```
### Manually testing
```bash
docker-compose \
-f docker-compose.mongo.yml \
-f docker-compose.rabbitmq.yml up
```