Consider the following line taken from /etc/shadow file:
root:$1$NFEf74q.$bmukkxAq9dOMJINgEtP7u0:15258:0:::::
From this I understand that the hashing algorithm is md5 ($1
) and starting from third $ sign is the hashed password consisting of 22 characters. From what I've read, this length is due to the hash being further encoded with base64 algorithm, is this correct? And If yes, how would you get the original md5 (32 chars) from it?