Encryption/decryption APIs

pts.
Tags:
AS/400
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

Here’s the URL to the API finder:

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

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • KeithHodges
    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 (www.gpg.org) 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 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following