Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
hardik
Posts: 2
Registered: ‎07-28-2010
My Device: Not Specified
Accepted Solution

Need to encrypt data like mp4,mp3 in SD card folder

Hi All,

 

-  I am little bit confused abt encryption of image,audio,video,files  which i will store in one folder in SD card .

 

-  I want to encrypt this folder so no one can view data except my app.

 

-  I searched a lot but i could not find pefect solution but i find something which may be correct .

 

- I cant convert to whole folder to byte array so i wil convert all data inside folder into byte array .then using crypto api i will pass this byte array .


I want suggestion . This is right way  to encrypt the folder in SD card ???

 

Thank you....

Please use plain text.
Developer
simon_hain
Posts: 16,004
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Need to encrypt data like mp4,mp3 in SD card folder

welcome to the support forums.

you can encrypt the files, there is no such thing as an encypted folder.
using the crypto api to encrypt/decrypt the byte[] of a file is the correct way, yes.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
New Contributor
hardik
Posts: 2
Registered: ‎07-28-2010
My Device: Not Specified

Re: Need to encrypt data like mp4,mp3 in SD card folder

Thanks..this is only possible solution which i can imagine

Please use plain text.