The Essential Guide to Cryptography: Hashing, Encryption, and Signing

The Essential Guide to Cryptography: Hashing, Encryption, and Signing #️⃣ Hashing Cryptographic Hash Function Application: Password Storage 🔒 Encryption Symmetric-key Encryption Public-key Encryption Application: SSL/TLS ✍🏼 Signing Digital Signature Application: Digital Certificate The Essential Guide to Cryptography: Hashing, Encryption, and Signing Cryptography primarily studies how to protect information security through mathematical and computer science methods. It is one of the cornerstones of internet security. The term “Cryptography” originates from the Greek words “kryptós” (hidden) and “gráphein” (writing)....

Unlocking High-Performance Concurrency: Mastering Data Races, Mutex, Atomic, and More in Go

Data race When executing non-atomic operations within the code, and multiple goroutines access the same data concurrently, there is a potential for a data race. This situation can lead to inconsistent read operations, compromising data integrity. Here is an code example of data race: package main import ( "fmt" "sync" ) var counter int var wg sync.WaitGroup func incr() { for i := 0; i < 10000; i++ { counter++ } wg....

Setup a Blog Using Hugo and Host It on GitHub Pages

In this post, I will be demonstrating how to set up a blog like ksong.io using Hugo and host it on GitHub Pages. Whether you’re a beginner or an experienced developer, this guide will provide you with a comprehensive and easy-to-follow tutorial on creating and deploying your blog. By the end of this post, you will have a fully-functional blog that is ready to be shared with the world. Prerequisites Install Hugo & Git Before you begin, you should have both Hugo and Git installed on your computer....

My VS Code Setup

Hi there, in this post, I will share my Visual Studio Code extensions that have become integral to my development process, which enhanced my productivity and efficiency. Visual Studio Code Visual Studio Code (often abbreviated as VS Code) is a free and open-source code editor developed by Microsoft. It is a popular and widely-used code editor that provides a smooth and efficient development experience for a wide range of programming languages....