GitHunt
SE

Sen-442b/Crypto-Functions-Experiments

Crypto Functions Experiments

This repository contains small Node.js demos exploring cryptographic functions, common flaws in password hashing, and educational experiments.

  • MD5 demo — shows weaknesses in MD5, how fast it can be hashed, and a brute-force demo on small keyspaces.

Prerequisites

  • Node.js installed (v14+ recommended).
  • Terminal / command prompt

No external packages are required for the included demos; all scripts use Node's built-in crypto module.


How to run

  1. Clone the repository:
git clone https://github.com/Sen-442b/Crypto-Functions-Experiments.git

Follow individual folder README files for respective demos

---

## Safety & Ethics

- Only test on strings and hashes you own.
- Do **not** attack remote systems or accounts without explicit permission.
- All demos are for educational purposes only.

---

## Recommendations & Takeaways

- Fast hash algorithms like MD5 and SHA-1 are unsuitable for password storage.
- Use slow, memory-hard KDFs (Argon2, bcrypt, scrypt) with per-user salts.
- Enforce strong password policies and multi-factor authentication.

---

## License

Use and modify freely for educational purposes. All demos are intended for ethical experimentation.

Languages

JavaScript100.0%

Contributors

Created October 5, 2025
Updated October 5, 2025
Sen-442b/Crypto-Functions-Experiments | GitHunt