And as steven mentioned, if you are dealing with XML then you should Base64-encode your encrypted data.
On Mon, Mar 25, 2013 at 11:32 AM, Satyapraksh Panigrahi < satya.e...@gmail.com> wrote: > You need not break your files into blocks. You can directly feed your file > (as a string or byte array) into OpenSSL methods. OpenSSL methods will take > care of breaking your whole data into blocks, encrypting each block and > then providing you with the entire encrypted data. Here's a small link to > get you started:- > http://saju.net.in/code/misc/openssl_aes.c.txt > > On Sun, Mar 24, 2013 at 12:03 AM, Jevin Sonut <j.so...@gmail.com> wrote: > >> hi, >> >> can anyone please tell me how to load a file and break the file into >> specific size bits (256 bits) >> >> then encrypt the different sizes >> >> PLZ provide a link which explain this >> >> ++++++++++ >> >> IS AES still safe to use or it is no more safe as what i have read the >> pawwkey can be obtained >> >> +++++ >> >> What the best way to keep a key in a program ?? >> >> as a string or in a specific file >> -- >> >> From:- >> Shanil J.S >> >> >> >> >