Just take the string as bytes and hash it ffs

    • @FierySpectre
      link
      English
      1
      edit-2
      22 days ago

      For that particular website yes, but a salted client side hash is worthless on a different website.

      Edit: plus even unsalted it would only work if the algorithm is the same and less iterations are done

      • @[email protected]
        link
        fedilink
        English
        122 days ago

        If the end user is reusing passwords. Which, granted, a lot of people do.

        On the flip side, we’re also forcing the use of JavaScript on the client just to handle passwords. Meanwhile, the attack we’re protecting against only works for reused passwords, and the attacker is inside the server and can see the password after transport layer encryption is removed. This is a pretty marginal reason to force the complexity of JavaScript.