Using Bcrypt for Password Encryption and Verification in Golang

Hi everyone, I am Hu Ge. Recently, while handling user login functionality in a project, I encountered a “common issue”—how to securely store user passwords. As a programmer who has been battling on the front line for years, I am very aware of how sensitive password storage is. Especially if the database is compromised, and … Read more

Analysis of Rails 8 Authentication Implementation (1) – Theoretical Preparation

Analysis of Rails 8 Authentication Implementation (1) - Theoretical Preparation

Ten days ago, 37signals published an article: A vanilla Rails stack is plenty, this article reinforced my long-standing belief: If Rails provides a solution, it’s best to stick with Rails’ solution. Maintaining minimal dependencies and reducing upgrade barriers is certainly important; more importantly, it is to learn the “optimal solution” after top developers think and … Read more