20 Lines of Python Code for Encrypted Communication

20 Lines of Python Code for Encrypted Communication

1. Introduction The internet is filled with eavesdropping, and our information can easily be obtained by malicious individuals, causing us negative impacts. If you need to transmit confidential or sensitive personal information over the internet, you may need to encrypt it to guard against prying eyes. Using online or mobile encryption software may also expose … Read more

Public Key Encryption Based on Large Prime Numbers – RSA Algorithm

Public Key Encryption Based on Large Prime Numbers - RSA Algorithm

Follow Encounter Mathematics, and discover a more wonderful you Image from: https://slideplayer.com/slide/5369780 The following text is excerpted from “Mathematics Kaleidoscope 2”, with permission from People’s Post and Telecommunications Press, [Encounter Mathematics] expresses gratitude! Modular arithmetic has led to an important development in cryptography: public key encryption. All cryptography relies on keys, and the greatest risk … Read more

Understanding 3DES Encryption Algorithm

Understanding 3DES Encryption Algorithm

3DES is the common name for the Triple Data Encryption Standard. It is an enhanced version of the DES algorithm, equivalent to applying the DES operation three times to each data block. Due to the increased key length, the security level and difficulty of cracking are higher than that of the DES algorithm. The encryption … Read more

Understanding RSA Algorithm Principles (Part 2)

Understanding RSA Algorithm Principles (Part 2)

Last time, the author introduced some number theory knowledge. With this knowledge, we can understand the RSA algorithm. This is currently the most important encryption algorithm on Earth. 6. Steps for Key Generation We will understand the RSA algorithm through an example. Suppose Alice wants to communicate securely with Bob, how should she generate her … Read more

Course Notes: Theory and Basics of Homomorphic Encryption

Course Notes: Theory and Basics of Homomorphic Encryption

Abstract:This article is the course notes from Professor Yu Yu’s summer class on homomorphic encryption. Professor Yu is a professor in the Department of Computer Science and Engineering at Shanghai Jiao Tong University, mainly engaged in research related to cryptography. The course first introduces some basic concepts of cryptography, and then discusses some fundamental theories … Read more

Understanding Asymmetric Cryptography Algorithms

Understanding Asymmetric Cryptography Algorithms

Classical cryptography primarily aims to encrypt information, ensuring the confidentiality of the data, with its secret attributes generally based on the proprietary nature of the encryption methods.This indicates that its service target must be a small group, as widespread promotion makes it difficult to ensure the encryption methods are not leaked, and its update cycle … Read more

Symmetric Encryption Algorithms Explained

Symmetric Encryption Algorithms Explained

5Typical Symmetric Encryption Algorithms This article introduces AES, SM4, and ZUC as representatives. AES, the Advanced Encryption Standard, is a block cipher algorithm adopted by the United States federal government; SM4 is a commercial block cipher algorithm developed and promoted for use in China; ZUC, the Zu Chongzhi algorithm, is a stream cipher algorithm independently … Read more

Understanding Post-Quantum Cryptography

Understanding Post-Quantum Cryptography

What is Post-Quantum Cryptography Post-quantum cryptography refers to modern public key cryptography that can resist known quantum computing attacks. The security of these cryptographic algorithms relies on computational complexity. Post-quantum encryption is a new encryption method that can leverage existing classical computers to achieve resistance against future quantum attacks. The advantage of post-quantum cryptographic algorithms … Read more

Cryptography: Understanding the Mysteries of Codes

Cryptography: Understanding the Mysteries of Codes

Of course, this behavior is very unethical, hiding behind a screen and trampling on education and law at will. However, the relevant departments have also taken timely measures to prevent such incidents from occurring frequently. Back to the point, if an intruder directly cracks passwords through technical means to disrupt classes, does this “password” have … Read more