# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ This module implements the interface to RSA's MD5 message digest algorithm (see also Internet RFC 1321). Its use is quite straightforward: use the new() to create an md5 object. You can now feed this object with arbitrary strings using the update() method, and at any point you can ask it for the digest (a strong kind of 128-bit checksum, a.k.a. ``fingerprint'') of the concatenation of the strings fed to it so far using the digest() method. Functions: new([arg]) -- return a new md5 object, initialized with arg if provided md5([arg]) -- DEPRECATED, same as new, but for compatibility Special Objects: MD5Type -- type object for md5 objects """ class MD5Type(object): """ An md5 represents the object used to calculate the MD5 checksum of a string of information. Methods: update() -- updates the current digest with an additional string digest() -- return the current digest value hexdigest() -- return the current digest as a string of hexadecimal digits copy() -- return a copy of the current md5 object """ block_size = property(None, None, None, ) def copy(self): """ copy() -> md5 object Return a copy (``clone'') of the md5 object. """ return None def digest(self): """ digest() -> string Return the digest of the strings passed to the update() method so far. This is a 16-byte string which may contain non-ASCII characters, including null bytes. """ return "" digest_size = property(None, None, None, ) digestsize = property(None, None, None, ) def hexdigest(self): """ hexdigest() -> string Like digest(), but returns the digest as a string of hexadecimal digits. """ return "" name = property(None, None, None, ) def update(self, arg): """ update (arg) Update the md5 object with the string arg. Repeated calls are equivalent to a single call with the concatenation of all the arguments. """ pass __doc__ = """This module implements the interface to RSA's MD5 message digest algorithm (see also Internet RFC 1321). Its use is quite straightforward: use the new() to create an md5 object. You can now feed this object with arbitrary strings using the update() method, and at any point you can ask it for the digest (a strong kind of 128-bit checksum, a.k.a. ``fingerprint'') of the concatenation of the strings fed to it so far using the digest() method. Functions: new([arg]) -- return a new md5 object, initialized with arg if provided md5([arg]) -- DEPRECATED, same as new, but for compatibility Special Objects: MD5Type -- type object for md5 objects""" __name__ = '_md5' __package__ = None digest_size = 16 def new(arg=None): """ new([arg]) -> md5 object Return a new md5 object. If arg is present, the method call update(arg) is made. """ return None