如何解决SHA256错误识别
我试图在下面识别这个哈希码几个小时:
$6$VQoztKJH$0aL8rygMd8gfX7m8cTRWOn4pqQ6bA/jkPyQSnzU0g10E0UiMQjIijs/66vflY7cMrGSKmmiBWE7r8oNCDQc3D/
不,它不是 sh-2 也不是 sha256
。
它可能是一个身份不明的人吗?
解决方法
$6
表示哈希来自 SHA-512
算法,参见 man 3 crypt
:
If salt is a character string starting with the characters "$id$"
followed by a string optionally terminated by "$",then the
result has the form:
$id$salt$encrypted
id identifies the encryption method used instead of DES and this
then determines how the rest of the password string is
interpreted. The following values of id are supported:
ID | Method
─────────────────────────────────────────────────────────
1 | MD5
2a | Blowfish (not in mainline glibc; added in some
| Linux distributions)
5 | SHA-256 (since glibc 2.7)
6 | SHA-512 (since glibc 2.7)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。