config root man

Current Path : /usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/hmac.pyo

³ò
h”Rc@sAdZd„ZdZgZddd„ƒYZddd„ZdS(sxHMAC (Keyed-Hashing for Message Authentication) Python module.

Implements the HMAC algorithm as described by RFC 2104.
cCsditd„||ƒƒS(sKUtility method. XOR the two strings s1 and s2 (must have same length).
    tcSstt|ƒt|ƒAƒS((tchrtord(txty((s /usr/local/lib/python2.5/hmac.pyt<lambda>	s(tjointmap(ts1ts2((s /usr/local/lib/python2.5/hmac.pyt_strxorstHMACcBsAeZdZddd„Zd„Zd„Zd„Zd„ZRS(s_RFC2104 HMAC class.

    This supports the API for Cryptographic Hash Functions (PEP 247).
    cs‰|tjodSnˆdjoddk}|i‰ntˆƒo
ˆ|_nd‡fd†|_|iƒ|_|iƒ|_|ii|_t	|idƒo'|ii
}|djo
d}q×nd}d|}d	|}t|ƒ|jo|i|ƒiƒ}n|t
d
ƒ|t|ƒ}|iit||ƒƒ|iit||ƒƒ|dj	o|i|ƒndS(s9Create a new HMAC object.

        key:       key for the keyed hash object.
        msg:       Initial input for the hash, if provided.
        digestmod: A module supporting PEP 247.  *OR*
                   A hashlib constructor returning a new hash object.
                   Defaults to hashlib.md5.
        NiÿÿÿÿRcs
ˆi|ƒS((tnew(td(t	digestmod(s /usr/local/lib/python2.5/hmac.pyR.st
block_sizeii@t6s\i(t_secret_backdoor_keytNonethashlibtmd5tcallabletdigest_constoutertinnertdigest_sizethasattrRtlentdigestRtupdateR
(tselftkeytmsgRRt	blocksizetipadtopad((Rs /usr/local/lib/python2.5/hmac.pyt__init__s2









cCs|ii|ƒdS(s8Update this hashing object with the string msg.
        N(RR(RR ((s /usr/local/lib/python2.5/hmac.pyRLscCsLttƒ}|i|_|i|_|iiƒ|_|iiƒ|_|S(syReturn a separate copy of this hashing object.

        An update to this copy won't affect the original object.
        (RRRRRtcopyR(Rtother((s /usr/local/lib/python2.5/hmac.pyR%QscCs/|iiƒ}|i|iiƒƒ|iƒS(söReturn the hash value of this hashing object.

        This returns a string containing 8-bit data.  The object is
        not altered in any way by this function; you can continue
        updating the object after calling this function.
        (RR%RRR(Rth((s /usr/local/lib/python2.5/hmac.pyR]scCsMdig}t|iƒƒD]&}|tt|ƒƒdidƒq~ƒS(sKLike digest(), but returns a string of hexadecimal digits instead.
        Ri(RttupleRthexRtzfill(Rt_[1]R((s /usr/local/lib/python2.5/hmac.pyt	hexdigesths
N(	t__name__t
__module__t__doc__RR$RR%RR,(((s /usr/local/lib/python2.5/hmac.pyRs2			cCst|||ƒS(sVCreate a new hashing object and return it.

    key: The starting key for the hash.
    msg: if available, will immediately be hashed into the object's starting
    state.

    You can now feed arbitrary strings into the object using its update()
    method, and can ask for the hash value at any time by calling its digest()
    method.
    (R(RR R((s /usr/local/lib/python2.5/hmac.pyRnsN((R/R
RRRRR(((s /usr/local/lib/python2.5/hmac.pys<module>s
	Z

Man Man