Hashing Algorithm คืออะไร?
ฟังก์ชันคณิตศาสตร์ที่แปลง Input Array ประเภทและความยาวเฉพาะเจาะจง เป็น Output Bit String ความยาวคงที่ ใช้ Hashing Table แปลง Input ใดๆ ให้เป็นข้อความสม่ำเสมอ
อัลกอริทึมยอดนิยม
1. MD5 (Message-Digest Algorithm 5)
Protocol ทางเข้ารหัสสำหรับยืนยันข้อความ ตรวจสอบเนื้อหา Digital Signatures ใช้ Hash Function ยืนยันไฟล์ที่ส่งตรงกับที่รับ
2. RSA (Rivest, Shamir, Adleman)
พัฒนา Public-key Encryption Technology Public-key Cryptosystem สำหรับส่งข้อมูลปลอดภัย มาตรฐานสำหรับข้อมูลละเอียดอ่อนผ่านอินเทอร์เน็ต ใช้คีย์ Public/Private สลับกันเข้ารหัส/ถอดรหัสได้ ใช้กว้างขวางที่สุดสำหรับ Asymmetric Algorithm
3. Secure Hash Algorithm (SHA)
họ Cryptographic Hash Functions ใช้ใน Cryptocurrencies พัฒนาโดย NIST แต่ละรุ่นพัฒนาจากรุ่นก่อน ไม่มีรุ่นใหม่หลังปี 2000 SHA-384 ใช้รักษาข้อมูล NSA ระดับ TOP SECRET
4. Scrypt
Hash Function ที่ใช้คำนวณนาน (Time-consuming) โดยเจตนา ใช้ Memory มาก ทำให้ปลอดภัย Litecoin ใช้ Scrypt ป้องกัน Blockchain
5. Ethash
Proof-of-work Mining Algorithm ของ Ethereum ออกแบบเพื่อ ASIC-resistance, Light client verifiability, Full chain storage พัฒนาโดย Vitalik Buterin
6. LANMAN (LAN Manager)
Microsoft LAN Manager Hashing Algorithm Legacy Windows ใช้เก็บรหัสผ่านด้วย DES ไม่ปลอดภัย ถูก Brute-force ได้ในไม่กี่ชั่วโมง