i was started reading this: https://blog.logrocket.com/password-hashing-node-js-bcrypt/#:~:text=Before%20the%20plain%20password%20is,can't%20guess%20the%20salt.
ok, next time, try to read the offical documentation, that article might be outdated and opinionated
now i understand why i never saw salt. in my c# project i generate salt manually and in bcrypt it's auto generateed. so that is because i never saw something like this: const salt = someCustomFunction(); that is happen all the time for me when switching from js to c# and vice verca.
It takes a salt though. check second shared link
Обсуждают сегодня