mς
­fIc           @   s`   d  k  Z  d  k Z d  k Z d  d  Z e d j o( e e   e e  e e d d n d  S(   Nc         C   sL  | d  j	 oe |  i |  } |  i | d  } |  i | d  i   } |  i |  } | i	 d  | i   } nV |  i   } |  i d  } |  i d  i   } |  i   } | i	 d  | i   } |  i d  j	 o n | i	 d  | i   }	 | i   | i   } } d } x" | D] }
 | d t |
  7} qWd G|  i Gd GHd  S(   Nt   stringt    s   %02xt   Modules   seems to comply with PEP 247(   t   keyt   Nonet   modulet   newt   obj1t   obj2t   digestt   h1t   obj3t   updatet   h2t   digest_sizet   copyt   obj_copyt	   hexdigestt   hd2t   bytet   ordt   __name__(   R   R   R   R   R   R   R
   R   R   R   R   R	   (    (    t-   /mit/python/lib/python2.4/test/test_pep247.pyt   check_hash_module   s8      (%       t   __main__R   t   abc(   t   md5t   shat   hmacR   R   R   (   R   R   R   R   (    (    R   t   ?   s
   '

