Home >  Support >  Online Manual >  How to use AEP PRO >  Command Line Interface >  Commands >  "ENCRYPTRSA" or "ERSA" - Encrypt file(s) using public key

"ENCRYPTRSA" or "ERSA" - Encrypt file(s) using public key

Encrypt files using public key file instead of password.

Syntax

ENCRYPTRSA[=publickeyfile.ext]

or

ERSA[=publickeyfile.ext]

Possible Additional Switches

-ADDKEYHASH to add information (hash) of used public key. When the hash information is present in the encrypted file, it is possible to check the encrypted file against any public key file to determine what public key file was used for encryption (please use command CHECKPUBKEYRSA for this purpose)

Examples:

a) encrypt all *.doc files in current folder using public key file of your friend John Doe.

AEPCMD encryptrsa="c:\rsakeys\john_doe_public_1024bit.aepkey"  *.doc

Note: only owner of john_doe_private_1024bit.aepkey file will be able to decrypt these *.doc files.

b) encrypt all JPG files in 'c:\my pictures' folder and all its subfolders. And then delete all original not-encrypted files

AEPCMD ersa="c:\rsakeys\john_doe_public_1024bit.aepkey" -destiny=d -r "c:\my pictures\*.jpg"

Back to the Table of Contents

 
Looking for best File Encryption Software?

Are you looking for strong file encryption software, with tons of features, easy to use, constantly improved?


Advanced Encryption Package 2017- is the software you are looking for. Just try it!

Read More

Read more about all program features.

ScreenShots

Look How to use file encryption software (in screenshots).

Free Download

Download evaluation version and try it free for 30 days!

 
Christmas and New Year Savings!

Christmas and New Year Savings!

Get 25% discount on AEP PRO until January 10, 2013.

 
Complete protection offer

Self Defence Package

3 product bundle (CD Encryption + USB Encryption + File Encryption + Drive Encryption) at a special price

 
Newsletter

Subscribe to our Newsletter.

Get notified about new products releases, new significant updates of existing products. Be first to know about short season's discounts and special offers.

 
Reviews

Great tool to help make things just a little easier

Advanced Encryption Package Professional is a tool that can ease some of the pain of working with encrypted messages and files.


 
Spotlight