I honestly tried my best to find the answer here or anywhere else. Bcrypt documentation states that there are 2 techniques to hash/salt a password: Technique 1 (generate a salt