DOKK / manpages / debian 12 / python3-rsa / py3rsa-encrypt.1.en
py3rsa-encrypt(1) General Commands Manual py3rsa-encrypt(1)

py3rsa-encrypt - encrypt a file

py3rsa-encrypt [OPTION]... PUBLIC_KEY

Encrypt a file. The file must be shorter than the key length in order to be encrypted.

show help message and exit
name of the file to encrypt. read from stdin if not specified.
name of the file to write the encrypted file to. write to stdout if this option is not present.
key format of the public key - default PEM

py3rsa-encrypt was written by Sybren A. Stuvel <sybren AT stuvel.eu>.