]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.10/Lib/md5.py
AppPkg/Applications/Python/Python-2.7.10: Initial Checkin part 4/5.
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Lib / md5.py
CommitLineData
3257aa99
DM
1# $Id$\r
2#\r
3# Copyright (C) 2005 Gregory P. Smith (greg@krypto.org)\r
4# Licensed to PSF under a Contributor Agreement.\r
5\r
6import warnings\r
7warnings.warn("the md5 module is deprecated; use hashlib instead",\r
8 DeprecationWarning, 2)\r
9\r
10from hashlib import md5\r
11new = md5\r
12\r
13blocksize = 1 # legacy value (wrong in any useful sense)\r
14digest_size = 16\r