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
Developer
tejaswiyvs
Posts: 55
Registered: ‎02-08-2010
My Device: Blackberry Bold

Crpyto + Persistent Store

Hi all,

 

My system enables users to save their work as a draft. I'd like to encrypt the data before I persist it. What APIs / tutorials should I be looking at?

 

I'm working with JDE 4.5.0, In particular, what I'm worried about are 

 

- Where do I save the keys?

- How processor intensive is crypto? Something like Triple DES / AES?

 

Thanks,

Teja.

Developer
tejaswiyvs
Posts: 55
Registered: ‎02-08-2010
My Device: Blackberry Bold

Re: Crpyto + Persistent Store

Okay, seems I need a byte stream to encrypt. I need to persist an object, so any tips on getting a byte stream representation of an object that can be converted back?

Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Crpyto + Persistent Store

What's your thread model? What are you trying to protect against?