Re: Encrypting Credit Card Numbers - Two Way Encryption
Re: Encrypting Credit Card Numbers - Two Way Encryption
- Subject: Re: Encrypting Credit Card Numbers - Two Way Encryption
- From: Robert Walker <email@hidden>
- Date: Thu, 20 May 2004 17:30:04 -0400
Johathan,
There is a two-way encryption method in the security example framework.
It is in the SPCryptoUtilities.java class.
If you don't have the example framework you can get it here:
http://homepage.mac.com/robertwalker1
I've not tried it out myself but it looks pretty straight forward.
On May 20, 2004, at 3:59 AM, Jonathan Fleming wrote:
Hi Guys,
Quick one... what's the best system to use for 2-way encryption? I
want to encrypt credit card numbers in the database (MSSQLServer2000)
and then decrypt them when I need the app to pull them up in a query
so I can see them.
For my passwords I use Sun's one-way encryption algorithm:
MessageDigest messageDigest =
MessageDigest.getInstance("SHA-1"); etc, etc but as I said I need a
system that let's me decypt later when needed.
Any examples or pointers welcome.
Thanks
Jonathan :^)
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Sincerely,
Robert Walker
Programmer
Bennett Technology Group
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.