散列(hash) 流行的算法有MD5和SHA1,就是不同的任何两组内容通过一组运硕裘到的结果也不同,我们称为hash数,或者可以叫做数字指纹。 比如我们常常将系统的登录口令通过MD5运算后存放在口令表里,登录的时候就将用户输入的口令通过MD5运算后和口令表中的相关项对比,如相同就通过认证,否则口令错误。