Menu

[3e9889]: / python / lib / python2.7 / md5.py  Maximize  Restore  History

Download this file

15 lines (11 with data), 358 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# $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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.