App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Variables
google.appengine._internal.django.utils.hashcompat Namespace Reference

Variables

 md5_constructor = hashlib.md5
 
 md5_hmac = md5_constructor
 
 sha_constructor = hashlib.sha1
 
 sha_hmac = sha_constructor
 

Detailed Description

The md5 and sha modules are deprecated since Python 2.5, replaced by the
hashlib module containing both hash algorithms. Here, we provide a common
interface to the md5 and sha constructors, depending on system version.