py3rsa-encrypt1
Encrypt a file
Usage
py3rsa-encrypt [OPTION] ...
PUBLIC_KEY
Overview
Encrypt a file. The file must be shorter than the key length in order to be encrypted.
Options
-
-h, --help -
show help message and exit
-
-i INPUT, --input=INPUT -
name of the file to encrypt. read from stdin if not specified.
-
-i OUTPUT, --output=OUTPUT -
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