The Python programming language
Raise ValueError if algorithm is not MD5 or SHA. Initial patch by Mathieu Dupuy.