Hash Generator

สร้างแฮช MD5, SHA-1, SHA-256, SHA-384, SHA-512 และลายเซ็น HMAC

Hash Generator

สร้างแฮช MD5, SHA-1, SHA-256, SHA-384, SHA-512 และลายเซ็น HMAC

เกี่ยวกับ Hash Generator

Hash Generator คำนวณค่าแฮชและลายเซ็น HMAC ทั้งหมดในเบราว์เซอร์ของคุณ รองรับ MD5, SHA-1, SHA-256, SHA-384 และ SHA-512 ซึ่งเป็นอัลกอริทึมยอดนิยมสำหรับการตรวจสอบ checksum ความสมบูรณ์ของข้อมูล การยืนยันตัวตน API และการจัดเก็บที่ปลอดภัย

วิธีใช้งาน

สร้างแฮชได้ในสามขั้นตอน:

  • พิมพ์หรือวางข้อความที่ต้องการแฮช
  • เลือกอัลกอริทึม - แนะนำ SHA-256 สำหรับการใช้งานทั่วไป
  • คัดลอกค่าแฮชในรูปแบบ Hex หรือ Base64 จากผลลัพธ์

ส่วนตัวตั้งแต่ออกแบบ

การแฮชทั้งหมดทำงานในเบราว์เซอร์โดยใช้ Web Crypto API สำหรับอัลกอริทึม SHA และ TypeScript ล้วน ๆ สำหรับ MD5 ไม่มีการอัปโหลดหรือจัดเก็บข้อมูลใด ๆ

ตั้งค่า

รูปแบบข้อมูล
รูปแบบผลลัพธ์

การแฮชทั้งหมดทำงานในเบราว์เซอร์ของคุณ ไม่มีการส่งข้อมูลออก

ผลลัพธ์

  • MD5128-bit
  • SHA-1160-bit
  • SHA-256256-bit
  • SHA-384384-bit
  • SHA-512512-bit
ข้อมูลอ้างอิงอัลกอริทึม

เปรียบเทียบขนาดผลลัพธ์ สถานะความปลอดภัย และกรณีใช้งานของแต่ละอัลกอริทึม

  • MD5
    128-bit ล้าสมัย
    Message-Digest Algorithm 5

    Fast 128-bit hash. Widely used for file checksums and data deduplication. Cryptographically broken - susceptible to collision and length-extension attacks. Do not use for passwords or digital signatures.

  • SHA-1
    160-bit ล้าสมัย
    Secure Hash Algorithm 1

    160-bit hash standardized by NIST. Deprecated since 2011 due to collision attacks. Still found in Git commit IDs, legacy TLS, and older certificate chains. Do not use for new security-sensitive applications.

  • SHA-256
    256-bit ปลอดภัย
    Secure Hash Algorithm 256-bit (SHA-2)

    The most widely deployed secure hash in active use. Part of the SHA-2 family. Used in TLS certificates, Bitcoin proof-of-work, JWT (HS256 / RS256), code signing, and file integrity verification.

  • SHA-384
    384-bit ปลอดภัย
    Secure Hash Algorithm 384-bit (SHA-2)

    A truncated variant of SHA-512 with independent initial values. Produces 384 bits of output. Common in TLS 1.2 cipher suites requiring higher security margins and in government-grade applications.

  • SHA-512
    512-bit ปลอดภัย
    Secure Hash Algorithm 512-bit (SHA-2)

    Largest SHA-2 variant, operating on 64-bit words. 512-bit output makes pre-image attacks computationally infeasible. Used in PBKDF2, bcrypt wrappers, blockchain, and high-security digital signatures.