i'm using c++ builder 6 and i'm writing a program here at work. this problem came up:
i want to decrypt a rsa private key in my program. now i can give one dos-command to the promptand will be executed fine:
AnsiString command.sprintf("openssl rsa -in %s -out %s",inputfile,outputfile);
after this line the command prompt waits for the password so i have to enter the password using the keyboard. i don(t want this i want to be able to pass the password to the command prompt so that my key will be decrypted without having to interfere manually.
if this cannot be done in C++ plz advise on a batch file that does the same...