• 0 Posts
  • 378 Comments
Joined 7 months ago
cake
Cake day: December 18th, 2023

help-circle




  • Tja@programming.devtoxkcd@lemmy.worldxkcd #2958: Hatchery
    link
    fedilink
    English
    arrow-up
    20
    ·
    14 hours ago

    For the people out of the loop: salt is a term used for a piece of data to add to a password before hashing it, so two people with the same password will appear to have different passwords in the DB. So my password will be stored as xyz in the DB while Joe’s password will be ABC, although we both use “hunter2”.

    It prevents an attack using so called “rainbow tables”, which is a dictionary of hashes and their corresponding password (so xyz -> hunter2).