哈希密码(Password Hash)指的是对口令进行一次性的加密处理而形成的杂乱字符串。
哈希密码比加密密码更安全,因为无法对其进行解密。
Hashed passwords are more secure than encrypted passwords because they can't be decrypted.
哈希密码不能检索。
更好的替代方法是在数据库中存储加密密码或哈希密码。
A better alternative is to store encrypted or hashed passwords in the database.
The answer is I can't. OK, in the simple case of integers I can, but in the case of something more complex like faces or fingerprints or passwords for that matter, it's hard to design a hash function that has completely even distribution, meaning that it takes any input into exactly one output spot.
答案是我不能,好吧,在简单的整数的例子中,我可以做到,但是在一些更复杂的场景中,比如面部,指纹,密码相关的问题中,很难设计一个哈希函数具备完全平均的分配,也就是说,做到对任一输入,可以准确地得到相应的唯一输出,因此在一个哈希问题中。
应用推荐