t2020: abstract away SHA-1 specific constants