Linux Crypto Driver Development: Hash Algorithm

Overview The Linux kernel provides a complete cryptographic algorithm framework (Crypto API), supporting hardware acceleration and software implementation for various cryptographic operations. In actual driver development, we often need to integrate multiple cryptographic algorithms (such as SHA256, AES-CTR, RSA2048, etc.) into the same cryptographic hardware device, utilizing its dedicated computational capabilities to enhance system performance … Read more

Has MD5 Encryption Been Cracked Again? 5 Practical Tips to Reassess Hash Algorithms!

Hello everyone, today we are going to talk about a topic that countless backend developers both love and hate—MD5 encryption. Have you encountered these scenarios: The interviewer asks: “Is MD5 an encryption algorithm?” You immediately reply “yes,” and then get criticized thoroughly. You store user passwords using MD5, only to have them cracked in seconds … Read more

BLAKE3: An Efficient Hash Algorithm Library in C++

BLAKE3: An Efficient Hash Algorithm Library in C++

BLAKE3: An Efficient Hash Algorithm Library in C++ BLAKE3 is a high-performance cryptographic hash algorithm known for its speed and security features. The C++ implementation of BLAKE3 provides developers with a powerful tool for handling various scenarios that require hashing operations, such as file verification, data integrity validation, and cryptographic applications. 1. Features of BLAKE3 … Read more

Understanding Passwords: Key Concepts You Should Know

Understanding Passwords: Key Concepts You Should Know

This “password” is not that “password”; key password knowledge you should know. As of July 1, the newly revised “Commercial Password Management Regulations” have officially come into effect. With the acceleration of the digitalization process, commercial passwords are now applied in all aspects of our lives, providing security assurance. The “password” referred to here is … Read more

CityHash: A Powerful C++ Library

CityHash: A Powerful C++ Library

CityHash: A High-Performance C++ Hash Library In computer science, a hash algorithm is a method of converting data into a fixed-length numerical value, widely used in data storage, retrieval, and verification. CityHash is a high-performance hash algorithm developed by Google, specifically designed for processing strings, characterized by its speed and low collision rate. Background and … Read more

Why Did Google Crack the SHA-1 Algorithm?

Why Did Google Crack the SHA-1 Algorithm?

A few days ago, the news of Google cracking the SHA-1 algorithm flooded my social media feed. In fact, the term “crack” is not entirely accurate, it should be that they published an example of breaking the SHA-1 algorithm. Regarding this news, I saw two different comments: A: Wow, that’s amazing! They actually cracked an … Read more

Overview of Common Cryptographic Algorithms

Overview of Common Cryptographic Algorithms

Privacy protection? It’s not to scare everyone; information is transparent, but we should still try to maintain personal privacy. Today, we will learn about symmetric encryption and asymmetric encryption. First, let’s read this character “钥”, is it pronounced “yao” or “yue”? Check the image below. 1. Symmetric Encryption As the name suggests, in symmetric encryption, … Read more

Understanding RSA Algorithm Principles: Overview of Common Encryption Algorithms

Understanding RSA Algorithm Principles: Overview of Common Encryption Algorithms

Alan Turing was primarily responsible for breaking the German Enigma cipher system during World War II. Decrypting codes required extensive computation, and Turing understood that to do a good job, one must first sharpen their tools. Thus, a computer called COLOSSUS was developed in 1943, and a total of 10 such electronic computers were produced, … Read more