data encryption

75 pts.
Tags:
AS/400 programming
Data Encryption
Java programming
SHA-2
I am working on a project where I need to be able to pass a string through a SHA-2 encryption and then use the result as part of a call to open a URL.  The URL call is a breeze..,

If there source code out there that has the SHA-2 algorithm that can run on the iSeries?  If it has to be in a JAVA program, any good pointers on how I can create this on the iSeries?

Answer Wiki

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

Technically, SHA-2 (SHA=Secure Hash Algorithm) doesn’t do encryption — it does one-way hashing. But that’s a nit about terminology.

See the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qc3gensk.htm”>V5R4 Generate Symmetric Key (QC3GENSK, Qc3GenSymmetricKey) API</a> for technical info. This is one of the Cryptographic Services API under Key Generation.

SHA-2 is a little unusual, but it should be about as easy as SHA-1 with the same API.

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
  • Droutt
    The open source time mentioned using SHA-2 so I am learning on the job at the moment. Whole new world. Is there a resource where I can study examples of how you would use this API? I'll do some digging around but thank you for responding.
    75 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