Programming Errors Weaken bcrypt Hashes of Ashley Madison Passwords. Ashley Madison encrypted users’ passwords using the bcrypt function. It’s a secure password-encryption function, but two implemention programming mistakes allows millions of passwords to be easily decrypted.