"> Hashing passwords in OS Windows, Linux, MacOS, FreeBSD

Hashing passwords on different operating systems

Windows 2000/ Windows XP / Windows Server 2003 / Windows Vista / Windows Server 2008 / Windows 7

Type hash NTLM
Example of hash 9f4df2fecd29d92e2e1a989541cf1bdf
In the old version of Windows(<=2k) were used LM hashes

Mandriva Linux (2010)

Type hash OpenBSD BlowFish
Example of hash $2a$04$10qNRJJhppJbcBJ9avyeEu7nZS8JNSiAVbobhEalABnvJyeHZeWkm

Ubuntu Linux(10.10) / Backtrack(4)

Type hash
SHA-512(Unix)
Example of hash $6$FFH2inEE$bDig7qKFq0m3wZY6BahqWjTzmcFma9

rAfPPocCvyXKyGqrErw5s1daWDotarbiUk76Sb8NO/ZhJ8WzeM6RW.q0

Debian Linux(5.*)

Type hash MD5(Unix)
Example of hash $1$YIiBacQM$pDsPxqFgTqDMYY6JZ6W7L0

OpenSuSe(11.1)

Type hash OpenBSD BlowFish
Example of hash $2a$04$10qNRJJhppJbcBJ9avyeEu7nZS8JNSiAVbobhEalABnvJyeHZeWkm

RedHat Enterprise Linux(5) / CentOS(5)

Type hash MD5(Unix)
Example of hash $1$YIiBacQM$pDsPxqFgTqDMYY6JZ6W7L0

Fedora(12)

Type hash SHA-512(Unix)
Example of hash $6$FFH2inEE$bDig7qKFq0m3wZY6BahqWjTzmcFma9rAfPPocCvy

XKyGqrErw5s1daWDotarbiUk76Sb8NO/ZhJ8WzeM6RW.q0

Solaris(11)

Type hash SHA-256(Unix)
Example of hash $5$12345678$5B8vYYiY.CVt1RlTTf8KbXBH3hsxY/GNooZaBBGWEc5

HP-UX(11i v3)

Type hash*** SHA-512(Unix)
Example of hash $6$FFH2inEE$bDig7qKFq0m3wZY6BahqWjTzmcFma9rAfP

PocCvyXKyGqrErw5s1daWDotarbiUk76Sb8NO/ZhJ8WzeM6RW.q0

 

 

 

 

***In older versions of HP-UX used hashes DES(Unix)

IBM AIX(6.1)

Type hash SSHA-1
Example of hash {ssha1}06$JcBuCWY2GaHrLwc0$JXfeozdbk9dAVxj8xpxpqCZT..N

Gentoo Linux(10)

Type hash MD5(Unix)
Example of hash $1$YIiBacQM$pDsPxqFgTqDMYY6JZ6W7L0

Slackware Linux(13)

Type hash MD5(Unix)
Example of hash $1$YIiBacQM$pDsPxqFgTqDMYY6JZ6W7L0

MacOS X(10.4+)

Type hash SHA1(SALTED)
Example of hash 33BA7C74C318F5D3EF40EB25E1C42F312ACF905E20540226

The first 8 characters is fixed salt.
In older versions MacOS X(<=10.2) used Des(Unix)

FreeBSD([0-9])

Type hash MD5(Unix)
Example of hash $1$YIiBacQM$pDsPxqFgTqDMYY6JZ6W7L0

OpenBSD(*)

Type hash OpenBSD BlowFish
Example of hash $2a$04$10qNRJJhppJbcBJ9avyeEu7nZS8JNSiAVbobhEalABnvJyeHZeWkm

NetBSD(*)

Type hash* (DES(Unix),MD5(Unix),OpenBSD Blowfish,SHA1(Unix))
Example of hash** SHA1(Unix) $sha1$21773$uV7PTeux$I9oHnvwPZHMO0Nq6/WgyGV/tDJIH

*The user when installing the system is proposed to choose which algorithm to choose.

**The remaining examples hashes have been published on the page

Arch Linux(2010)

Type hash MD5(Unix)
Example of hash $1$YIiBacQM$pDsPxqFgTqDMYY6JZ6W7L0