75 pts.
 data encryption
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?



Software/Hardware used:
ASKED: October 22, 2009  2:53 PM
UPDATED: October 23, 2009  1:10 AM

Answer Wiki:
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
Last Wiki Answer Submitted:  October 22, 2009  11:24 pm  by  TomLiotta   110,185 pts.
All Answer Wiki Contributors:  TomLiotta   110,185 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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 pts.