Can any one help me out with the code below I dont understand properly what
is the error problem in this .
I'm using AES API's to decrypt.
Here is my code :
I need to decrypt a binary file...i only have key and iv and i was given the
mode of encryption asked to decrypt the binary file..so this was
Hai
this is the openssl shell command i'm using to decrypt a binary file...
openssl enc -d -K
3834373532303435333730323834383132373330393233343531323330383839 -iv
3636383630393433313132323031 -aes-256-cbc-in final2.bin -out test.zip
As my target doesnot support openssl commd i was asked to wr
ation of the key, instead of the real key.
> Same with iv.
>
> On Tue, Nov 17, 2009 at 02:43:48AM -0800, NaGaGo wrote:
>>
>> Hai
>> this is the openssl shell command i'm using to decrypt a binary file...
>> openssl enc -d -K
&
..
Thanks for info in advance.
Christian Hohnstaedt wrote:
>
> Hi,
>
> you used the ASCII representation of the key, instead of the real key.
> Same with iv.
>
> On Tue, Nov 17, 2009 at 02:43:48AM -0800, NaGaGo wrote:
>>
>> Hai
>> this is the openssl shell com
decrypted data into a file */
fwrite(pOutBuff, 1, size, outFile);
printf("size of data written is:%lu.\n", m);
fclose (inFile);
fclose (outFile);
return 0;
}
Dave Thompson-4 wrote:
>
>> From: owner-openssl-us...@openssl.org On Behalf Of NaGaGo