{
    "mode": "pydoc",
    "parameter": "_blake2",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/_blake2/json",
    "generated": "2026-06-02T15:51:35Z",
    "sections": {
        "NAME": {
            "content": "blake2 - blake2b provides BLAKE2b for hashlib\n",
            "subsections": []
        },
        "CLASSES": {
            "content": "builtins.object\nblake2b\nblake2s\n",
            "subsections": [
                {
                    "name": "class blake2b",
                    "content": "|  blake2b(data=b'', /, *, digestsize=64, key=b'', salt=b'', person=b'', fanout=1, depth=1, leafsize=0, nodeoffset=0, nodedepth=0, innersize=0, lastnode=False, usedforsecurity=True)\n|\n|  Return a new BLAKE2b hash object.\n|\n|  Methods defined here:\n|\n|  copy(self, /)\n|      Return a copy of the hash object.\n|\n|  digest(self, /)\n|      Return the digest value as a bytes object.\n|\n|  hexdigest(self, /)\n|      Return the digest value as a string of hexadecimal digits.\n|\n|  update(self, data, /)\n|      Update this hash object's state with the provided bytes-like object.\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  blocksize\n|\n|  digestsize\n|\n|  name\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  MAXDIGESTSIZE = 64\n|\n|  MAXKEYSIZE = 64\n|\n|  PERSONSIZE = 16\n|\n|  SALTSIZE = 16\n"
                },
                {
                    "name": "class blake2s",
                    "content": "|  blake2s(data=b'', /, *, digestsize=32, key=b'', salt=b'', person=b'', fanout=1, depth=1, leafsize=0, nodeoffset=0, nodedepth=0, innersize=0, lastnode=False, usedforsecurity=True)\n|\n|  Return a new BLAKE2s hash object.\n|\n|  Methods defined here:\n|\n|  copy(self, /)\n|      Return a copy of the hash object.\n|\n|  digest(self, /)\n|      Return the digest value as a bytes object.\n|\n|  hexdigest(self, /)\n|      Return the digest value as a string of hexadecimal digits.\n|\n|  update(self, data, /)\n|      Update this hash object's state with the provided bytes-like object.\n|\n|  ----------------------------------------------------------------------\n|  Static methods defined here:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  blocksize\n|\n|  digestsize\n|\n|  name\n|\n|  ----------------------------------------------------------------------\n|  Data and other attributes defined here:\n|\n|  MAXDIGESTSIZE = 32\n|\n|  MAXKEYSIZE = 32\n|\n|  PERSONSIZE = 8\n|\n|  SALTSIZE = 8\n"
                }
            ]
        },
        "DATA": {
            "content": "BLAKE2BMAXDIGESTSIZE = 64\nBLAKE2BMAXKEYSIZE = 64\nBLAKE2BPERSONSIZE = 16\nBLAKE2BSALTSIZE = 16\nBLAKE2SMAXDIGESTSIZE = 32\nBLAKE2SMAXKEYSIZE = 32\nBLAKE2SPERSONSIZE = 8\nBLAKE2SSALTSIZE = 8\n",
            "subsections": []
        },
        "FILE": {
            "content": "(built-in)\n\n",
            "subsections": []
        }
    },
    "summary": "blake2 - blake2b provides BLAKE2b for hashlib",
    "flags": [],
    "examples": [],
    "see_also": []
}