HEX
Server: Apache
System: Linux server1048.orangewebsite.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User: designersdiscre1 (1023)
PHP: 8.5.4
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python2.7/sha.py
# $Id$
#
#  Copyright (C) 2005   Gregory P. Smith ([email protected])
#  Licensed to PSF under a Contributor Agreement.

import warnings
warnings.warn("the sha module is deprecated; use the hashlib module instead",
                DeprecationWarning, 2)

from hashlib import sha1 as sha
new = sha

blocksize = 1        # legacy value (wrong in any useful sense)
digest_size = 20
digestsize = 20