Languages

Menu
Sites
Language
Encrypting large files(more than 1 mb)

Hi All,
Is there any possible way to encrypt files more than 1 mb in tizen native app

i am following the below method
1.getting the file contents into a ByteBuffer()

2.encrypting the byte buffer  , but byte buffer is not capable of storing data more than 1 mb . if i give file of size more than 1 mb it is giving E_system Error

Can any one provide solution for this issue
Regards

Harish

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
Alex Dem

Hi,
I did not find explicit restriction of ByteBuffer size,
I was able to construct and fill ByteBuffer with size more then 5 mb, I suppose it depends from heap size of specific device.
Alexey.

Alex Dem

Hi,
I did not find explicit restriction of ByteBuffer size,
I was able to construct and fill ByteBuffer with size more then 5 mb, I suppose it depends from heap size of specific device.
Alexey.