Framework for SHA-0 cryptanalysis