An open API service indexing awesome lists of open source software.

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

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.

![telegram-cloud-photo-size-2-5444988611511578664-y](https://github.com/user-attachments/assets/c2d5ae64-73ac-4e53-8a22-2ca8bbfad98d)

## 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
```