Viewing File: /usr/lib64/python2.7/site-packages/Crypto/Hash/SHA256.pyc
ó
Bd\Rc @ s° d Z d Z d d d g Z d d l Td d l m Z y d d l Z e j Z Wn' e k
rw d d l
m Z e Z n Xd e f d
YZ d d Z e j Z e j Z d S( s SHA-256 cryptographic hash algorithm.
SHA-256 belongs to the SHA-2_ family of cryptographic hashes.
It produces the 256 bit digest of a message.
>>> from Crypto.Hash import SHA256
>>>
>>> h = SHA256.new()
>>> h.update(b'Hello')
>>> print h.hexdigest()
*SHA* stands for Secure Hash Algorithm.
.. _SHA-2: http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
s $Id$t newt digest_sizet
SHA256Hashi˙˙˙˙( t *( t HashAlgoN( t _SHA256c B s>