• kmartburrito@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    4 hours ago

    That’s why they need a little bit of seasoning. Some salt would do the trick. At least it would help with a dictionary/rainbow table based attack anyway

    • e0qdk@reddthat.com
      link
      fedilink
      arrow-up
      7
      ·
      3 hours ago

      Yep, salt. Also, there are much better options than MD5. I used bcrypt in systems I built a while back. There’s also scrypt and argon2, which are newer. (Just be careful that you don’t create a DoS vulnerability while hardening your login system…)

      • kmartburrito@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        3 hours ago

        Yep, and md5 is only used by many because it’s so fast. Cutting corners for speed’s sake is always going to come with a penalty somewhere.