Closed minhnhatnoe closed 1 year ago
Is your feature request related to a problem? Please describe.
The function at https://github.com/natsukagami/kjudge/blob/be020e807c02c3dacc1ab283f2e3187a277bce7a/server/auth/password.go#L26 currently doesn't implement salting passwords.
bcrypt.GenerateFromPassword has salt built-in.
bcrypt.GenerateFromPassword
Is your feature request related to a problem? Please describe.
The function at https://github.com/natsukagami/kjudge/blob/be020e807c02c3dacc1ab283f2e3187a277bce7a/server/auth/password.go#L26 currently doesn't implement salting passwords.