{
    "mode": "pydoc",
    "parameter": "_crypt",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/_crypt/json",
    "generated": "2026-06-02T15:47:37Z",
    "sections": {
        "NAME": {
            "content": "crypt\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/crypt.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "crypt",
                    "content": "Hash a *word* with the given *salt* and return the hashed password.\n\n*word* will usually be a user's password.  *salt* (either a random 2 or 16\ncharacter string, possibly prefixed with $digit$ to indicate the method)\nwill be used to perturb the encryption algorithm and produce distinct\nresults for a given *word*.\n"
                }
            ]
        },
        "FILE": {
            "content": "/usr/lib/python3.10/lib-dynload/crypt.cpython-310-x8664-linux-gnu.so\n\n",
            "subsections": []
        }
    },
    "summary": "crypt",
    "flags": [],
    "examples": [],
    "see_also": []
}