Which text identifier indicates an MD5-based password scheme in Unix password strings?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which text identifier indicates an MD5-based password scheme in Unix password strings?

Explanation:
Unix password strings include an algorithm identifier at the start, in the format $id$salt$hash. The id tells you which hashing method was used. MD5-based crypt is indicated by the identifier 1, so a hash beginning with $1$ denotes MD5. The other ids map to different algorithms (for example, 5 for SHA-256 and 6 for SHA-512; bcrypt variants use 2). Therefore, the identifier for MD5-based password schemes is 1.

Unix password strings include an algorithm identifier at the start, in the format $id$salt$hash. The id tells you which hashing method was used. MD5-based crypt is indicated by the identifier 1, so a hash beginning with $1$ denotes MD5. The other ids map to different algorithms (for example, 5 for SHA-256 and 6 for SHA-512; bcrypt variants use 2). Therefore, the identifier for MD5-based password schemes is 1.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy