Solved: Determine which password-hash support is available on Linux.

Today we will see a quick tip how to determine the password hash which are supported in our Linux System.

Solution
In Linux, we can check for available password algorithms supported using below command.

[user@ngelinux01 ]$ authconfig --help | grep passalgo
  --passalgo=<descrypt|bigcrypt|md5|sha256|sha512>

The recommended hashing algorithm on any Linux system is SHA-512, which uses 64-bit words & also salt and stretching for extra security.

However to ensure backward compatibility, we recommend to use SHA-256, DES, BigCrypt, or MD5 hashing algorithms for passwords in Linux.

The best available solution that we recommend is to use SHA-256 which supports backward compatibility with strong security and with no vulnerabilities detected so far.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments