md5sum,sha1sum,sha224sum_tab提取文件特征码
单向加密:不可逆,提取数据指纹()
md5:message digest ,128bits
sha1:sercure hash algorithm ,160bits
sha224
sha256
sha384
sha512
雪崩效应:初始的条件微小改变,将会引起结果的巨大改变
定长输出:
【实例1】
[root@Cody ~]# cp /etc/fstab /tmp/
[root@Cody ~]# md5sum /tmp/fstab
9f54a417447a50572ab7e8f2201b1065 /tmp/fstab
[root@Cody ~]# md5sum /tmp/fstab
9f54a417447a50572ab7e8f2201b1065 /tmp/fstab
[root@Cody ~]# sha
sha1sum sha224sum sha256sum sha384sum sha512sum sharesec shasum
[root@Cody ~]# sha1sum /tmp/fstab
6fc7b4877f2045dbe176fd2c83f1120dd9635818 /tmp/fstab
[root@Cody ~]# sha1sum /tmp/fstab
6fc7b4877f2045dbe176fd2c83f1120dd9635818 /tmp/fstab
转载于:https://blog.51cto.com/perthon/1885690