@alsotang
bcrypt is an algorithm that uses Blowfish internally. It is not an encryption algorithm itself.
Blowfish 是对称加密算法,密码是可以被解密出来的,这对于密码系统其实是不合理的。而 hash 算法却没有这个问题。
从密码强度而言,只需要增加 hash 算法的强度,即可扩大密码空间,抵御彩虹表攻击。再辅以可变 salt,避免一次撞库攻击一批用户。实际是比 Blowfish 更加科学的。