Password salts #4249
Answered
by
MrLeebo
florian-klemt
asked this question in
General
Password salts
#4249
-
Hi everyone, I was wondering if passwords are salted by default. I don't see anything like that, so I presume no, but wanted to check first. |
Beta Was this translation helpful? Give feedback.
Answered by
MrLeebo
Nov 7, 2023
Replies: 1 comment 3 replies
-
Yes, they are salted. thehash() function of secure-password applies the salt.
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
MrLeebo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, they are salted.
blitz/packages/blitz-auth/src/server/secure-password.ts
Line 12 in fb232d1
hash()
function ofsecure-password
applies the salt.