Clarified 1 = SHA-1, 2 = SHA-256