How can I encrypt three different files, each with its own public key?
For instance, there are three companies (X, Y and Z)
. Each company sends me its own public key.
I want to send a file to each company and encrypt it using the correct matching key.
1- encrypt file1.txt
by x.pub
and send it to company X
2- encrypt file2.txt
by y.pub
and send it to company Y
3- encrypt file3.txt
by z.pub
and send it to company Z
How can I do the above in a Windows batch file?