MD5 Hash Generator
تولید هش MD5 از هر متنی
متن ورودی
بهصورت محلی اجرا میشود · جایگذاری اسرار امن است
هش MD5
هش MD5 اینجا نمایش داده میشود…
hashMd5Content.whatTitle
hashMd5Content.whatBody1
hashMd5Content.whatBody2
hashMd5Content.whatBody3 hashMd5Content.whatBody4
hashMd5Content.whyTitle
hashMd5Content.whyBody
⚡
hashMd5Content.b1Title
hashMd5Content.b1Body
🔒
hashMd5Content.b2Title
hashMd5Content.b2Body
📋
hashMd5Content.b3Title
hashMd5Content.b3Body
🔍
hashMd5Content.b4Title
hashMd5Content.b4Body
hashMd5Content.useCasesTitle
hashMd5Content.uc1Title
hashMd5Content.uc1Body
hashMd5Content.uc2Title
hashMd5Content.uc2Body
hashMd5Content.uc3Title
hashMd5Content.uc3Body
hashMd5Content.uc4Title
hashMd5Content.uc4Body
hashMd5Content.uc5Title
hashMd5Content.uc5Body
hashMd5Content.uc6Title
hashMd5Content.uc6Body
hashMd5Content.comparisonTitle
hashMd5Content.comparisonBody
| hashMd5Content.colAlgorithm | hashMd5Content.colDigest | hashMd5Content.colHexLength | hashMd5Content.colStandard | hashMd5Content.colUseCase |
|---|---|---|---|---|
| MD5 | 128 bits | 32 hex chars | 1992 / RFC 1321 | Checksums, non-security fingerprints |
| SHA-1 | 160 bits | 40 hex chars | 1995 / RFC 3174 | Legacy git commits (being replaced) |
| SHA-256 | 256 bits | 64 hex chars | 2001 / FIPS 180-4 | TLS certificates, blockchain, JWTs |
| SHA-384 | 384 bits | 96 hex chars | 2001 / FIPS 180-4 | Government systems, higher security margin |
| SHA-512 | 512 bits | 128 hex chars | 2001 / FIPS 180-4 | Digital signatures, HMAC with large keys |
| SHA-3 | 256 bits | 64 hex chars | 2015 / FIPS 202 | Post-quantum readiness, backup standard |
| BLAKE3 | 256 bits | 64 hex chars | 2020 | High-performance checksums, Merkle trees |
hashMd5Content.internalsTitle
hashMd5Content.internalsBody
hashMd5Content.internalsAux
Input: "hello world"
MD5: 5eb63bbbe01eeed093cb22bb8f5acdc3
(128 bits = 16 bytes = 32 hex characters)
MD5: 5eb63bbbe01eeed093cb22bb8f5acdc3
(128 bits = 16 bytes = 32 hex characters)
hashMd5Content.internalsSteps
hashMd5Content.codeTitle
hashMd5Content.codeBody
JavaScript (Web Crypto — browser & Node.js)
// MD5 is not available in Web Crypto API (it only supports SHA-*)
// Use a library like 'js-md5' or the Node.js crypto module
// Node.js (built-in crypto)
const crypto = require('crypto')
const hash = crypto.createHash('md5').update('hello world').digest('hex')
console.log(hash) // → "5eb63bbbe01eeed093cb22bb8f5acdc3"
// With Unicode input
crypto.createHash('md5').update('cafe\u0301').digest('hex')
// → "4fad076bae205e95bec9dacea498e2ab"Python
import hashlib
# Basic MD5 hash
result = hashlib.md5(b'hello world').hexdigest()
print(result) # → "5eb63bbbe01eeed093cb22bb8f5acdc3"
# Hash a string (must encode to bytes first)
text = 'hello world'
hashlib.md5(text.encode('utf-8')).hexdigest()
# → "5eb63bbbe01eeed093cb22bb8f5acdc3"
# Hash a file
with open('file.bin', 'rb') as f:
md5 = hashlib.md5()
for chunk in iter(lambda: f.read(8192), b''):
md5.update(chunk)
print(md5.hexdigest())Go
package main
import (
"crypto/md5"
"fmt"
)
func main() {
data := []byte("hello world")
hash := md5.Sum(data)
fmt.Printf("%x\n", hash)
// → 5eb63bbbe01eeed093cb22bb8f5acdc3
}CLI (Linux / macOS)
# Using md5sum (Linux) or md5 (macOS) echo -n "hello world" | md5sum # → 5eb63bbbe01eeed093cb22bb8f5acdc3 - # macOS echo -n "hello world" | md5 # → 5eb63bbbe01eeed093cb22bb8f5acdc3 # Hash a file md5sum package.json # → a1b2c3d4e5f6... package.json # Using openssl (cross-platform) echo -n "hello world" | openssl md5 # → MD5(stdin)= 5eb63bbbe01eeed093cb22bb8f5acdc3
hashMd5Content.faqTitle
hashMd5Content.q1
hashMd5Content.a1
hashMd5Content.q2
hashMd5Content.a2
hashMd5Content.q3
hashMd5Content.a3
hashMd5Content.q4
hashMd5Content.a4
hashMd5Content.q5
hashMd5Content.a5
hashMd5Content.q6
hashMd5Content.a6
hashMd5Content.q7
hashMd5Content.a7
ابزارهای مرتبط
SHA-1 Hash Generatorتولید هش SHA-1 از هر متنیتولیدکننده هش SHA-256تولید هش SHA-256 از هر متنیتولیدکننده هش SHA-384تولید هش SHA-384 از هر متنیتولیدکننده هش SHA-512تولید هش SHA-512 از هر متنیتولیدکننده HMACتولید امضاهای HMAC با SHA-256، SHA-384 یا SHA-512شناسهی Hashشناخت نوع هش بر اساس طول و فرمت — MD5، SHA-1، SHA-256 و غیره