# 4. DES (Data Encryption Standard)

**URL:** <https://discuss.hashpire.io/t/4-des-data-encryption-standard/296>\
**Category:** กระดานเนื้อหา 📄\
**Tags:** in-review\
**Created:** [July 25, 2022, 3:11am UTC](https://discuss.hashpire.io/t/4-des-data-encryption-standard/296 "2022-07-25T03:11:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Namtan](https://discuss.hashpire.io/user_avatar/discuss.hashpire.io/namtan/32/23_2.png) [@Namtan](https://discuss.hashpire.io/u/Namtan)\
**Post date:** [July 25, 2022, 3:11am UTC](https://discuss.hashpire.io/t/4-des-data-encryption-standard/296/1 "2022-07-25T03:11:25Z")

</div>

1. DES (Data Encryption Standard)

DES (Data Encryption Standard) คือ อัลกอริทึมการเข้ารหัสข้อมูล ซึ่งเป็นการเข้ารหัสแบบกุญแจสมมาตร (Symmetric - Key Cryptography) พัฒนาขึ้นในช่วงต้นทศวรรษ 1970 โดย Horst Feisel และได้รับการบรรจุเป็นกระบวนการเข้ารหัสมาตรฐานสำหรับรัฐบาลกลางสหรัฐอเมริกา (FIPS) อย่างเป็นทางการ ในปี 1977

การเผยแพร่ระบบการเข้ารหัสข้อมูลแบบ DES ที่ได้รับการรับรองจาก สำนักงานความมั่นคงแห่งชาติของสหรัฐอเมริกา (NSA) ทำให้ DES ถูกนำไปใช้ในระดับสากลอย่างรวดเร็ว ส่งผลทำให้เกิดการตรวจสอบข้อเท็จจริงเชิงวิชาการอย่างกว้างขวาง และเกิดความข้อขัดแย้งในเรื่องความไม่ปลอดภัย เนื่องจากการใช้กุญแจที่มีขนาดค่อนข้างสั้น

ตัวอัลกอริทึม DES นั้นออกแบบให้เข้ารหัสข้อมูลทีละ 64 บิต ด้วยกุญแจขนาด 56 บิต หมายความว่า หากจะทำการแฮ็คการเข้ารหัสแบบ DES จะต้องทดสอบกุญแจ 2x56 รูปแบบเพื่อหากุญแจที่ถูกต้องในการถอดรหัส ซึ่งในยุคสมัยที่คอมพิวเตอร์ยังทำงานได้ช้า ก็ถือว่า DES มีความปลอดภัยในระดับหนึ่ง และทำให้มีการพัฒนา DES ด้วยการเข้ารหัสซ้ำ ๆ จำนวน 3 รอบ กลายเป็นฟังก์ชัน 3DES หรือ Triple DES ที่มีขนาดกุญแจ 168 บิต ทุกวันนี้กระบวนการจ่ายเงินผ่านบัตรเครดิตสมาร์ตการ์ดต่าง ๆ ยังคงใช้การเข้ารหัสแบบ 3DES เป็นส่วนประกอบสำคัญในการรักษาความปลอดภัย

แต่ในยุคสมัยที่คอมพิวเตอร์มีการพัฒนาอย่างรวดเร็ว การทดสอบกุญเเจนั้นทำได้ไม่ยาก ในเดือนมกราคม ปี 1999 Distribution .net และ Electronic Frontier Foundation ได้ร่วมมือกันเพื่อแฮ็คกุญแจในการเข้ารหัสแบบ DES โดยสามารถทำได้ในเวลา 22 ชั่วโมง 15 นาที ทำให้ DES ถูกพิสูจน์ว่าไม่ปลอดภัย และถูก สถาบันมาตรฐานและเทคโนโลยีแห่งชาติ (NIST) ของสหรัฐอเมริกา เพิกถอนออกจากเป็นมาตรฐาน หลังจากนั้น DES ก็ถูกแทนที่ด้วย Advanced Encryption Standard (AES)

แม้ว่าความยาวของกุญแจในการเข้ารหัสแบบ DES จะค่อนข้างสั้น เพียง 56 บิต ทำให้ไม่ปลอดภัยสำหรับแอปพลิเคชันสมัยใหม่ แต่ก็ถือได้ว่าการเข้ารหัสแบบ DES นั้นมีอิทธิพลอย่างมากต่อความก้าวหน้าของการเข้ารหัสในปัจจุบัน

Reference

> **[Data Encryption Standard](https://en.wikipedia.org/wiki/Data_Encryption_Standard)**
>
> The Data Encryption Standard (DES /ˌdiːˌiːˈɛs, dɛz/) is a symmetric-key algorithm for the encryption of digital data. Although its short key length of 56 bits makes it too insecure for modern applications, it has been highly influential in the advancement of cryptography.
> Developed in the early 1970s at IBM and based on an earlier design by Horst Feistel, the algorithm was submitted to the National Bureau of Standards (NBS) following the agency's invitation to propose a candidate for the protect...

> **[09d66144707f4c610b633d2709fd65cc566e41a916a1a3911401576168.pdf](https://multi.dopa.go.th/dopaperson/assets/modules/official_letter/uploads/09d66144707f4c610b633d2709fd65cc566e41a916a1a3911401576168.pdf)**
>
> 800.31 KB

* * *

Outline

- DES คืออะไร
- กระบวนการทำงานของ DES
- การพัฒนา DES เป็น Triple DES
- ความไม่ปลอดภัยของ DES

---

<div class="post-metadata">

**Author:** ![anakornk](https://discuss.hashpire.io/user_avatar/discuss.hashpire.io/anakornk/32/3_2.png) [@anakornk](https://discuss.hashpire.io/u/anakornk)\
**Post date:** [August 8, 2022, 2:56am UTC](https://discuss.hashpire.io/t/4-des-data-encryption-standard/296/2 "2022-08-08T02:56:12Z")

</div>

> [@Namtan](#):
>
> 2x56

2^56?  
เหมือนเล่าเกี่ยวกับ DES แต่อ่านจบก็ยังไม่รุ้ DES คืออะไร และได้อะไรจากบทความนี้ ได้แค่ว่า DES เป็น symmetry key encrpytion, key 56 bit

มันควรที่จะมีพวกรูปภาพเหมือนที่เราอธิบาย แต่ละขั้นตอนเป็นยังไง key components ของ algorithm คืออะไร, feistel network etc
