{
    "mode": "man",
    "parameter": "py3rsa-encrypt",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/py3rsa-encrypt/1/json",
    "generated": "2026-05-30T05:15:37Z",
    "synopsis": "py3rsa-encrypt [OPTION]... PUBLICKEY",
    "sections": {
        "NAME": {
            "content": "py3rsa-encrypt - encrypt a file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "py3rsa-encrypt [OPTION]... PUBLICKEY\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Encrypt a file. The file must be shorter than the key length in order to be encrypted.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "show help message and exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-i --input=",
                    "content": "name of the file to encrypt. read from stdin if not specified.\n",
                    "flag": "-i"
                },
                {
                    "name": "-i --output=",
                    "content": "name of the file to write the encrypted file to. write to stdout if this option is not\npresent.\n\n--keyform=KEYFORM\nkey format of the public key - default PEM\n",
                    "flag": "-i"
                }
            ]
        },
        "AUTHOR": {
            "content": "py3rsa-encrypt was written by Sybren A. Stuvel <sybren AT stuvel.eu>.\n\n\n\n\npy3rsa-encrypt(1)",
            "subsections": []
        }
    },
    "summary": "py3rsa-encrypt - encrypt a file",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "show help message and exit"
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "name of the file to encrypt. read from stdin if not specified."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "name of the file to write the encrypted file to. write to stdout if this option is not present. --keyform=KEYFORM key format of the public key - default PEM"
        }
    ],
    "examples": [],
    "see_also": []
}