các thuật toán mã hóa
DESCRIPTION
An Toàn và bảo mật HTTTTRANSCRIPT
![Page 1: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/1.jpg)
Các thuật toán mã hoá
![Page 2: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/2.jpg)
Các thuật toán
• Hashing (hàm băm), • mật mã symmetric (đối xứng), • và mật mã asymmetric (bất đối xứng).
![Page 3: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/3.jpg)
Hashing – Hàm Băm
• Hashing là một phương thức mật mã nhưng nó không phải là một thuật toán mã hoá.
• hashing sử dụng nó để phát hiện ra dữ liệu có toàn vẹn trong quá trình lưu trữ hay trong khi truyền hay không.
![Page 4: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/4.jpg)
Chỉ số hash (giá trị băm)
• "hash value – giá trị hash", • "hash – băm",• Message Authentication Code (MAC), • fingerprint – vân tay, • hay một đoạn message
![Page 5: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/5.jpg)
![Page 6: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/6.jpg)
Thuật toán hashing thường được sử dụng:
• Secure Hash Algorithm (SHA-1) với - 160-bit hash value
• Message Digest 5 (MD5) với —128-bit hash value
• Message Digest 4 (MD4) với —128-bit hash value
• Message Digest 2 (MD2) với —128-bit hash value
![Page 7: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/7.jpg)
2. Symmetric – Mã hoá đối xứng
• Ceasar• Vigenere
![Page 8: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/8.jpg)
hai dạng của Mật mã đối xứng :
• a. Block cipher• b. Stream cipher
![Page 9: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/9.jpg)
a. Block cipher
• Block cipher là một giải pháp hoạt dộng chống lại sự hạn chế của dữ liệu tĩnh. Dữ liệu được chia ra thành các blocks với size cụ thể và mỗi blocks được mã hoá một cách khác nhau.
![Page 10: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/10.jpg)
b. Stream cipher
• Stream cipher là giải pháp hoạt động chống lại dữ liệu luôn luôn sử dụng một phương thức để truyền. Một vùng đệm, ít nhất bằng một block, đợi cho toàn bộ thông tin của block đó được chứa trong vùng đệm sau đó block đó sẽ được mã hoá rồi truyền cho người nhận. Một sự khác nhau cơ bản giữa dữ liệu được truyền và dữ liệu nguyên bản. Không như giải pháp sử dụng mật mã đối xứng là mỗi block được sử dụng một key khác nhau trong quá trình truyền thông tin.
![Page 11: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/11.jpg)
Dưới đây là các giải pháp mật mã đối xứng hay sử dụng nhất:
![Page 12: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/12.jpg)
3. Asymmetric - Mật mã bất đối xứng
![Page 13: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/13.jpg)
![Page 14: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/14.jpg)
![Page 15: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/15.jpg)
Cách tạo khóa
![Page 16: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/16.jpg)
Mã hóa và giải mã
![Page 17: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/17.jpg)
ứng dụng chữ ký số
• Dùng khoá bí mật để ký một thông báo;dùng khoá công khai để xác minh chữ ký.
![Page 18: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/18.jpg)
• Tổ hợp khoá bí mật mình với khoá bí mật của người khác tạo ra khoá dùng chung chỉ hai người biết.
![Page 19: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/19.jpg)
Phương thức mật mã bất đối xứng sử dụng:
• - Rivest Shamir Adleman (RSA)• - Diffie-Hellman• - Error Correcting Code (ECC)• - El Gamal• - Message Message
![Page 20: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/20.jpg)
Cách hack mật mã
• Dò tìm – vét cạn• Thống kê• Nghe lén
![Page 21: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/21.jpg)
Hạ tầng mã hóa công khai
• Chứng thực chữ ký số
![Page 22: Các thuật toán mã hóa](https://reader034.vdocuments.mx/reader034/viewer/2022052323/558734c4d8b42ad4648b46f9/html5/thumbnails/22.jpg)
Một số phần mềm tham khảo
• http://downloadsh.com/downloads-rsa-key-generation-utility-100-9758.html
• http://download123.vn/rsa-tols-10859.aspx