# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ _blake2b provides BLAKE2b for hashlib """ BLAKE2B_MAX_DIGEST_SIZE = 64 BLAKE2B_MAX_KEY_SIZE = 64 BLAKE2B_PERSON_SIZE = 16 BLAKE2B_SALT_SIZE = 16 BLAKE2S_MAX_DIGEST_SIZE = 32 BLAKE2S_MAX_KEY_SIZE = 32 BLAKE2S_PERSON_SIZE = 8 BLAKE2S_SALT_SIZE = 8 __doc__ = """_blake2b provides BLAKE2b for hashlib """ class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ _ORIGIN = 'built-in' def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_module(self, fullname, path=None): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. This method is deprecated. Use find_spec() instead. """ pass def find_spec(self, fullname, path=None, target=None): pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module instead. """ pass def module_repr(self, module): """ Return repr for the module. The method is deprecated. The import machinery does the job itself. """ pass __name__ = '_blake2' __package__ = '' __spec__ = None class blake2b(object): """ Return a new BLAKE2b hash object. """ MAX_DIGEST_SIZE = 64 MAX_KEY_SIZE = 64 PERSON_SIZE = 16 SALT_SIZE = 16 block_size = property(None, None, None, ) def copy(self): """ Return a copy of the hash object. """ pass def digest(self): """ Return the digest value as a bytes object. """ pass digest_size = property(None, None, None, ) def hexdigest(self): """ Return the digest value as a string of hexadecimal digits. """ pass name = property(None, None, None, ) def update(self, data): """ Update this hash object's state with the provided bytes-like object. """ pass class blake2s(object): """ Return a new BLAKE2s hash object. """ MAX_DIGEST_SIZE = 32 MAX_KEY_SIZE = 32 PERSON_SIZE = 8 SALT_SIZE = 8 block_size = property(None, None, None, ) def copy(self): """ Return a copy of the hash object. """ pass def digest(self): """ Return the digest value as a bytes object. """ pass digest_size = property(None, None, None, ) def hexdigest(self): """ Return the digest value as a string of hexadecimal digits. """ pass name = property(None, None, None, ) def update(self, data): """ Update this hash object's state with the provided bytes-like object. """ pass