Just take the string as bytes and hash it ffs

  • rekabis@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    4 months ago

    Especially since it takes more effort to limit it than leave it wide open for whatever length of password a user wants to use.

    nvarchar(max) is perfect to store the hashed copy.