Linux encryption algorithm problem __python

Source: Internet
Author: User
In the Linux distribution, different versions of the encryption algorithm used are different, the algorithm generated different passwords are different, we can autoconfig--test This command to view the default type of password.
[Root@server25 vhost]# authconfig--test | grep password
Shadow passwords are enabled
Password hashing algorithm is sha512
The default encryption method used for CentOS 6.4 is sha512
Xxxxxxx:$6$hhqnb.lo$14sx5acxrsc7picomqdafooejcnprl5wrbizwcllhnaf.45hc.tk1abh2hxbupqniey6dtzjs2y1k/1yliqan. : 16855:0:99999:7::
As can be seen from the/etc/shadow, the first $ and the second $6, then the encryption algorithm is SHA512, if it is 1, the default encryption algorithm is MD5.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.