[Botan-devel] Botan: Decoding error: AES/CBC/PKCS7

Jawwad Shamsi jshamsi at cs.wayne.edu
Thu Apr 14 19:52:14 EDT 2005


Thanks Marcus-
it worked !
Jawwad

On Thu, 14 Apr 2005, Marcus Proest wrote:

> Hi Jawwad,
>
> you have to close your file streams for that to work!
>
>         std::ifstream infile("plaintext1.txt");
>         std::ofstream outfile("ciphered.txt");
>
>         pipe.start_msg();
>         infile >> pipe;
>         pipe.end_msg();
>         outfile << pipe;
>
>         outfile.close();	//close the file!!!
> 	infile.close();		//close the file!!!
>
> Regards,
> Marcus
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://www.randombit.net/mailman/listinfo/botan-devel
>




More information about the botan-devel mailing list