aspose file tools*
The moose likes Beginning Java and the fly likes How to encode/decode large numbers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to encode/decode large numbers" Watch "How to encode/decode large numbers" New topic
Author

How to encode/decode large numbers

madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
Hi,

Could some one guide me as to how i can encode/decode something like credit card numbers

regards


Money for nothing and Java for Free
SCJP, SCWCD
Seb Mathe
Ranch Hand

Joined: Sep 28, 2005
Posts: 225
For credit card numbers, hava a look at this article


Regards,<br />Seb<br /> <br />SCJP 1.4
madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
Thanks

The link.. provides good general information on credit cards, however i wanted to know how to use encryption and decryption on credit card numbers.
Form where does one start if one need to store sensitive information like card numbers.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I don't know much about this beyond a little bit of acedemic interest I am pursuing. So my comments are probably not worth a whole lot. With that disclaimer here is my 2 cents:

First you need to pick an encryption scheme. There are many different ways to encrypte data. All of these have advantages and disadvantages, so you will need to weigh them and decide which one works best in your situation.

Once you have made this decision, you need to implement it in code. If you are doing this in Java, you may want to look at the javax.crypto package. It might have a lot of tools to help implement this. In fact, it might also provide tools to help you make the decision of what encryption algorithm to use.

Layne


Java API Documentation
The Java Tutorial
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to encode/decode large numbers