K5kC LogoK5kC | Code & More
Computer Science
AlgorithmsJavaProgramming LanguagesDatabaseSystem Design
Problems
Blind 75Algo KernelDifficulty: EasyDifficulty: MediumDifficulty: Hard
Videos
Projects
AndroidData ScienceComputer VisionSimulations
Tools
UUID GeneratorCode Formatter
Search⌘K
Computer Science
System Design
Interview and Requirements
How to store a password in database

System Design

OverviewInterviews: A Step by Step GuideAlgorithms for System Design InterviewsDefining RequirementsFunctional RequirementsNon-Functional Requirements (Quality Attributes)Guide to Scaling Your App from 0 to MillionsHow to store a password in database
Computer Science
System Design
Interview and Requirements
How to store a password in database

How to store a password in database

  • How Do Sites Check Your Password?
  • How Not to Store Passwords
  • Why Plain Text Is a Bad Idea
  • How to Store Passwords Properly
  • Store a Hash, Not the Password
  • Why the Hash Should Be Slow
  • Add a Salt
  • What Is a Salt?
  • Rules of Thumb for Salts
  • What Does a Salt Buy You If the Database Leaks?
  • Encourage Strong Passwords
  • Putting Hashes and Salts Together
  • Sign-Up Flow
  • Login Flow
← PreviousGuide to Scaling Your App from 0 to MillionsNext →Distributed Systems
PrivacyDisclaimerReport an IssueAbout

© 2026 K5kC | Code & More. All rights reserved.

चरैवेति चरैवेति | Keep moving on