The Birth of Asymmetric Encryption

The Birth of Asymmetric Encryption

Click the blue text Follow us The Birth of Asymmetric Encryption Tree Brother: Cryptography can be simply divided into classical cryptography and modern cryptography. We have already introduced substitution ciphers and the Enigma machine in classical cryptography, and now we will begin to discuss symmetric and asymmetric encryption methods in modern cryptography. I’m sure you … Read more

Understanding The Underlying Principles Of Cryptography In 3000 Words

Understanding The Underlying Principles Of Cryptography In 3000 Words

1. Definition of Cryptography Before the late 20th century, cryptography was more of an art, primarily used for secret communication. At that time, there were no theories to rely on, nor any effective definitions to construct a good cipher. It wasn’t until the 1980s that the emergence of modern cryptography transformed the study of cryptography … Read more

Introduction to Information Security and Cryptography

Introduction to Information Security and Cryptography

This article provides a preliminary understanding of the field of information security. 1. Briefly describe security attacks, security mechanisms, and security services. Security attack: Any act that jeopardizes the security of an information system. Security mechanism: A process used to detect, prevent attacks, or recover from an attack state to a normal state. Security service … Read more

Introduction to Cryptography and Encryption Algorithms

Introduction to Cryptography and Encryption Algorithms

Introduction to Cryptography Cryptography is a young yet ancient discipline. It has been used to protect military and diplomatic communications for thousands of years. The earliest recorded communication cipher dates back to 400 BC. The ancient Greeks invented substitution ciphers. In 1881, the world’s first telephone secrecy patent emerged. The invention of the telegraph and … Read more

Dynamic Fault Injection Practice on White-box Cryptography Using Unicorn

Dynamic Fault Injection Practice on White-box Cryptography Using Unicorn

Kerckhoffs principle states that the security of a cryptographic system relies solely on the security of the key, with everything else in the system considered public information. However, in reality, software reverse engineering and dynamic/static debugging techniques have successfully executed key extraction attacks on cryptographic systems. Given this fact, both the industry and academia have … Read more

Various Encryption Algorithms Implemented in Python

Various Encryption Algorithms Implemented in Python

Encryption is generally about encrypting binary encoded formats, which corresponds to Python as Bytes. You need to convert str to Bytes using encode and decode. 01 md5 import hashlib def MD5(str): h1 =hashlib.md5() h1.update(str.encode(encoding = 'utf-8')) return h1.hexdigest() # lowercase if __name__ == "__main__": str ='123232' md5 =MD5(str) print("Before encryption: "+ str) print("After encryption: " … Read more

Implementing Symmetric Encryption Algorithms in Go

Implementing Symmetric Encryption Algorithms in Go

Click the blue “Go Language Chinese Network” above to follow us, get a complete set of Go materials, and learn Go language every day Introduction to Encryption Algorithms An encryption algorithm is a method of encryption. In cryptography, encryption is the process of hiding plaintext information so that it is unreadable without special information. Encryption … Read more

Learn the AES Encryption Algorithm with Me

Learn the AES Encryption Algorithm with Me

Experts can skip this; this is just a beginner’s learning note, not very substantial. The renowned AES has always been a concept I knew vaguely, but I didn’t understand its details well and often just skimmed over it. Recently, due to circumstances, I reluctantly started to delve into it… After learning about it, I found … Read more

Explaining the Mathematical Principles of Encryption Algorithms

Explaining the Mathematical Principles of Encryption Algorithms

Recently, Jason invited Mei from the Mathematics Department of Fudan University to give five hardcore math classes for friends interested in Web3. Starting from natural numbers, he explained the details of RSA asymmetric encryption. Let me review and try to explain this rather complex topic. (Math warning ahead, but I promise to limit it to … Read more