https://kotlinlang.org logo
#ktor
Title
# ktor
e

elonzh

02/23/2024, 4:29 PM
Does ktor has password hashing solutions like spring-security?
a

Aleksei Tirman [JB]

02/23/2024, 5:15 PM
Can you please describe in more detail the solution you need?
j

Júlio Santos

02/23/2024, 7:18 PM
f

Fernando Sanchez (Perraco Labs)

02/26/2024, 1:16 PM
@elonzh Maybe this is what you are asking for? https://ktor.io/docs/basic.html#validate-user-hash
e

elonzh

02/26/2024, 1:41 PM
Indeed, it pertains to a UserHashedTableAuth. However, Ktor does not support password hashing algorithms such as Argon2, scrypt, bcrypt, among others. After conducting some research, I discovered that [org.bouncycastle.crypto.generators](https://www.bouncycastle.org/docs/docs1.8on/index.html) appears to be a suitable solution for my needs. Many thanks to everyone!
3 Views