encryption/decryption api’s
0 pts.
0
Q:
encryption/decryption api's
We are at v5 r3. It's becoming important that we encrypt and decrypt customer credit card numbers as we process them on our home grown system. I'm told that there are api's available to encrypt/decrypt data, but I'm having a hard time finding them. Any help would be appreciated. Thanks in advance
ASKED: Aug 15 2005  4:23 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7830 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Here's the URL to the API finder: http://publib.boulder.ibm.com/iseries/v5r3/ic2924/info/apis/apifinder.htm

In the 'Search by descriptive name' field, type 'encrypt'. One of the APIs listed will be '... QC3ENCDT, Qc3EncryptData)'.

==================================================

I uploaded a trivial working example of Qc3EncryptData and Qc3DecryptData in the Using Encrpt Data API thread. It uses the Triple-DES algorithm to encrypt and then decrypt a simple text variable, with a definitely unsecret 'secret' key.

If you test the APIs a couple times, they're really not that big of a deal.

The problem comes when you try to figure out what to do with encrypted data.

For example, surely you wouldn't be expecting ever to use those numbers as part of an index key, right? No sorting, no random retrieval -- that kind of stuff? Once encrypted, the only thing they'll ever be good for is decrypting. (Once decrypted, of course, your programs can do anything they want. But while encrypted, they're useless.)

Tom
Last Answered: Nov 6 2009  6:35 AM GMT by TomLiotta   7830 pts.
Latest Contributors: TheQuigs   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

KeithHodges   0 pts.  |   Aug 16 2005  9:47AM GMT

The APIS are good, but in communicating with other companies, I was required to use “Pretty Good Privacy” (PGP) - I actually used the freeware software “GNU Privacy Guard” or GPG  <a href="http://www.gpg.org" title="http://www.gpg.(" target="_blank">www.gpg.org</a>) and put it on an integrated PC, as well as on just a networked PC. There are also canned PGP or GPG solutions available from Linoma software, and Alliance (Patrick Townsend and Associates.)
My solution is not as elegant, you must go to the PC or IXA to manage the passphrase, install keys, or whatever, but you can get around being forced to buy a package.

 
0