Skip to content

Mianmos/hash_hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Hash & Security Hub 🛡️

A lightweight, modern, and 100% privacy-first web utility for generating secure passwords, passphrases, PIN codes, and calculating cryptographic hashes.


🟢 100% Privacy & Client-Side Only

Security and user privacy are the core principles of this project. All operations, generations, and cryptographic calculations happen entirely within the user's browser (Client-Side JavaScript).

  • Zero Server Latency: No data, passwords, or texts are ever sent to a remote server.
  • Fully Auditable: Built with pure HTML5 and vanilla JavaScript. No external dependencies, shady trackers, or telemetry.

✨ Features

  • Password Strength Meter: Real-time visual feedback with a checklist for common security criteria (length, casing, digits, special characters).
  • Passphrase Generator: Generates secure, easy-to-remember multi-word phrases separated by hyphens (supports both English and Czech wordlists based on active UI language).
  • PIN Generator: Cryptographically secure 6-digit PIN generator powered by the native crypto.getRandomValues() API.
  • Cryptographic Hashes: Blazing-fast SHA-256, SHA-384, and SHA-512 hashing using the browser's native Web Crypto API.
  • Text Case Utilities: Quick toggles for UPPERCASE and lowercase text transformations.
  • Multilingual UI: Full, seamless on-the-fly translation support for English (EN) and Czech (CZ).

🛠️ How to Run Locally (Docker Compose)

This project is fully containerized and optimized to run out-of-the-box or behind reverse proxies like Nginx Proxy Manager, Traefik, or Caddy.

Prerequisites

Ensure you have Docker and Docker Compose installed on your host system.

Deployment Steps

  1. Clone the repository: '''bash git clone https://github.com/Mianmos/hash_hub.git cd hash_hub
  2. Spin up the container: '''bash docker compose up -d --build

🔒 Production Nginx / Reverse Proxy Configuration

If you run this application behind Nginx Proxy Manager or standalone Nginx and utilize security bouncers like CrowdSec or Fail2Ban, use the following custom server block configuration to pass real client IPs correctly and instantly block malicious vulnerability scanners:

Core headers for passing real client IP to CrowdSec / Fail2Ban

proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;

location / { proxy_pass $forward_scheme://$server:$forward_port; }

BLOCK: Instantly deny access to sensitive scanning targets (.env, .git, backup files)

location ~* .(env|git|ssh|php|config|bak|sql) { return 403 "Access Denied - Security Policy Enforced"; }

📄 License

This project is open-source and available under the MIT License.

🇨🇿 Crypto Hash & Security Hub (CZ)

Lehká, moderní a 100% soukromá webová utilita pro generování bezpečných hesel, frází (passphrases), PIN kódů a výpočet kryptografických otisků. 🟢 100% Soukromí & Výpočty pouze u klienta

Bezpečnost a soukromí uživatelů zijn hlavní prioritou. Veškeré operace, generování a kryptografické výpočty probíhají výhradně v prohlížeči uživatele (Client-Side JavaScript).

Nulová komunikace se serverem: Žádná data, hesla ani texty se nikdy neposílají na vzdálený server.

Plně auditovatelné: Postaveno na čistém HTML5 a vanilla JavaScriptu bez externích knihoven, trackerů nebo telemetrie.

✨ Funkce

Měřič síly hesla: Okamžitá vizuální odezva s checklistem parametrů (délka, velká/malá písmena, čísla, speciální znaky).

Generátor frází: Vytváří bezpečná, snadno zapamatovatelná víceslovná hesla spojená pomlčkami (podporuje český i anglický slovník podle zvoleného jazyka).

Generátor PINů: Kryptograficky bezpečný generátor 6místných PINů využívající nativní API crypto.getRandomValues().

Kryptografické haše: Rychlé generování SHA-256, SHA-384 a SHA-512 pomocí vestavěného Web Crypto API.

Nástroje pro text: Rychlý převod textu na VELKÁ nebo malá písmena.

Vícejazyčné rozhraní: Plná podpora přepínání jazyků mezi češtinou (CZ) a angličtinou (Egit clone [https://github.com/Mianmos/hash_hub.git](https://github.com/Mianmos/hash_hub.git)

Sklonujte repozitář:
git clone [https://github.com/Mianmos/hash_hub.git](https://github.com/Mianmos/hash_hub.git)
cd hash_hub
Spusťte Docker kontejner:
docker compose up -d --build
Aplikace bude ihned dostupná na adrese http://localhost:8087

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors