how to decrypt a binary file which is encryptes by aes 256 cbc mode

2009-11-17 Thread NaGaGo
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

help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-17 Thread NaGaGo
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

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread NaGaGo
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 &

Re: help me decrypting a binary file which is encrypted by aes 256 cbc mode

2009-11-18 Thread NaGaGo
.. 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

RE: how to decrypt a binary file which is encryptes by aes 256 cbc mode

2009-11-19 Thread NaGaGo
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