Staging
v0.8.1
v0.8.1
Revision cac8f585b12e2598783b7c570108eaa8d2262c4c authored by Martin v. Löwis on 13 June 2008, 18:19:49 UTC, committed by Martin v. Löwis on 13 June 2008, 18:19:49 UTC
1 parent cc0f2b2
md5.py
# $Id$
#
# Copyright (C) 2005 Gregory P. Smith (greg@krypto.org)
# Licensed to PSF under a Contributor Agreement.
import warnings
warnings.warn("the md5 module is deprecated; use hashlib instead",
DeprecationWarning, 2)
from hashlib import md5
new = md5
blocksize = 1 # legacy value (wrong in any useful sense)
digest_size = 16
Computing file changes ...