You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, from the past 3 days i can't find a nodejs library that can hash an password just like python passlib, i'm probably missing something but doesn't no why.
Hi @lucasdiedrich! Iocane doesn't expose any of its hashing functionality, and only provides an API for encryption. It looks like you're looking for a PBKDF2 hashing function, but I'm guessing that it might be impossible to find a 1:1 match already in existence. You could write your own using the pbkdf2 package that iocane uses.
The tricky part is finding out what components are in your hashed password string, and what the delimiters are. It seems to be a mixture of dollar signs and periods.
Worst case scenario you could just wrap passlib as an external executable (it would become a system dependency of your app), but that depends on how portable you want your application to be. execa is a good execution toolkit if you were to take this route.
Hello, from the past 3 days i can't find a nodejs library that can hash an password just like python passlib, i'm probably missing something but doesn't no why.
Can i achieve the correct hash with this lib?
Thanks if you are reading this.
The text was updated successfully, but these errors were encountered: