Hash Generator
MD5, SHA-1, SHA-256, SHA-512 โ computed in the browser
What is a hash? A one-way function that converts any input into a
fixed-length string. The same input always produces the same hash, but you cannot
reverse a hash back to the original text. Used in password storage, file verification,
and digital signatures.
How SHA-256 works (concept)
SHA-256 processes input in 512-bit blocks through 64 rounds of bitwise operations
(AND, OR, XOR, shifts, rotations) and modular addition. The result is always
256 bits = 64 hex characters. Even changing one character produces a completely
different hash โ this is called the Avalanche Effect.
Algorithm used: Browser's native
Algorithm used: Browser's native
crypto.subtle.digest('SHA-256', data)
โ the same implementation used by HTTPS/TLS.
File Integrity Checker
Compute SHA-256 checksum and verify file authenticity
Why verify file integrity? When you download software, the developer
publishes a SHA-256 checksum. You compute the checksum of your downloaded file โ
if it matches, the file is genuine and unmodified. If it differs, the file may be
corrupted or tampered with.
File is processed locally in your browser. Nothing is uploaded to any server.
Hash Comparator
Compare two hashes โ MATCH or NOT MATCH
When to use this: Compare a computed hash against a known-good hash
to verify data integrity. The comparison is case-insensitive and trims whitespace.
Any single character difference = NOT MATCH.
Password Security Analyzer
Strength score (0โ100), complexity analysis, recommendations
How scoring works: Points are awarded for length (8+, 12+, 16+ chars),
uppercase, lowercase, digits, special characters, avoiding common passwords,
no repeated characters, and no sequential patterns. Maximum score is 100.
Your password never leaves your browser.
Text-to-Binary Converter
ASCII values and 8-bit binary โ C++ algorithm, browser simulation
How it works: Every character has an ASCII number (e.g. 'A' = 65).
That number is then converted to 8-bit binary (65 = 01000001).
This is the same algorithm implemented in
cpp/text_binary.cpp using
std::bitset<8> and type casting (int)ch.
View equivalent C++ code (text_binary.cpp)
// Using standard loop & bitset
for (int i = 0; i < text.length(); i++) {
char ch = text[i];
int ascii = ch; // 'H' -> 72
bitset<8> binary(ch); // 'H' -> 01001000
cout << ch << "\t" << ascii << "\t" << binary << endl;
}
Bitwise Operations Calculator
AND, OR, XOR, NOT, Left/Right Shift โ C++ algorithm, browser simulation
What are bitwise operations? Operations that work directly on
individual bits of a number. Used in encryption, graphics, networking, and
low-level programming. This tool mirrors
cpp/bitwise.cpp which
uses C++ operators: &, |, ^,
~, <<, >>.
View equivalent C++ code (bitwise.cpp)
// AND operation example:
int a = 12, b = 10;
int result = a & b; // 12 & 10 = 8
// Display in decimal and 8-bit binary:
cout << "Result: " << result << endl;
cout << "Binary: " << bitset<8>(result) << endl; // 00001000