Re: Encrypt / DECRYPT a XML file using AES - break the file into 256 bits...

2013-03-25 Thread Satyapraksh Panigrahi
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 ge

Re: Encrypt / DECRYPT a XML file using AES - break the file into 256 bits...

2013-03-24 Thread Satyapraksh Panigrahi
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)

Re: Encrypt / DECRYPT a XML file using AES - break the file into 256 bits...

2013-03-23 Thread shathawa
Sanil, 1. Are you trying to encrypt an XML element content? 2. Or are you trying to encrypt the entire XML document? To retain XML capability, you may also need to encode your encrypted blob with Base64 encoding. Steven J. Hathaway Xerces XML > hi, > > can anyone please tell me how to load a fi

Encrypt / DECRYPT a XML file using AES - break the file into 256 bits...

2013-03-23 Thread Jevin Sonut
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 t