blob: a44ca3b49340283afa075b12b3abd7ed0bbf8815 [file] [log] [blame]
Gregory P. Smithf21a5f72005-08-21 18:45:59 +00001# $Id$
2#
Gregory P. Smithf8057852007-09-09 20:25:00 +00003# Copyright (C) 2005 Gregory P. Smith (greg@krypto.org)
Gregory P. Smithf21a5f72005-08-21 18:45:59 +00004# Licensed to PSF under a Contributor Agreement.
5
Brett Cannon7eec2172007-05-30 22:24:28 +00006import warnings
7warnings.warn("the md5 module is deprecated; use hashlib instead",
8 DeprecationWarning, 2)
9
Gregory P. Smithf21a5f72005-08-21 18:45:59 +000010from hashlib import md5
11new = md5
12
13blocksize = 1 # legacy value (wrong in any useful sense)
14digest_size = 16