What is $1$ level encryption in crypt (/etc/shaddow)

1

The first character after the user name in /etc/shaddow, is the type of encryption used.

http://www.lamolabs.org/blog/10670/how-is-my-password-stored-in-linux/

So:

$5$ means SHA256
$6$ means SHA512

Looking at my cent 5.9 vm I downloaded from puppet's website, I notice that the encryption level is $1$.

What level of encryption is 1 ?

[root@learn etc]# cat /etc/shadow| grep root | cut -c1-8
root:$1$

Resources
http://linux.die.net/man/3/crypt

spuder

Posted 2013-07-22T21:19:08.007

Reputation: 8 755

Answers

0

From the crypt(3) man page:

          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)

Ignacio Vazquez-Abrams

Posted 2013-07-22T21:19:08.007

Reputation: 100 516