not really a batch file question as such, but.. has anyone had the need to encrypt data from the command line using public/private keys or similar?
The issue is the password being in the batch file, i need to find some way of encrypting some data from the command line using a password (stored in the batch file) that cannot be used to decrypt it.
I found via google some discussions of the functionality of it being in 7zip - but the trail went cold
any ideas or suggestions gratefully received.
Thanks
encrypting data from the command line
Moderator: DosItHelp
Re: encrypting data from the command line
EDIT: not applicable.
Last edited by foxidrive on 05 Mar 2012 16:16, edited 1 time in total.
Re: encrypting data from the command line
Found a solution, gpg, it allows you to encrypt the file(s) just by specifying a name - to decrypt them you have to provide the key for the certificate.
Best of all, it's free
Best of all, it's free
