views:

150

answers:

2

I have an iphone native application,in which i am taking credit card details , i want to encrypt this details and then store it into data base and at some point of time i need to decrypt it again..Is ther any way to do this.

+3  A: 

Hi Himanshu

Try this link

http://www.mobileorchard.com/tutorial-iphone-sqlite-encryption-with-sqlcipher/

Rambo
Very good for an entirely encrypted BD. The comment to use KeyChain to store the password is excellent, key management is a big deal.
zaph
+2  A: 

I'd suggest you not store the credit card information at all. Especially don't store it on the iPhone.

brianegge
I agree with you brianegge.
Rambo
I'm one of the developers of SQLCipher, and we discourage the use of embedding the secret key in your source code. It can be done, and people do use this method for obfuscating data, but it is not secure.
Billy Gray