data encryption
50 pts.
0
Q:
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?

ASKED: Oct 22 2009  2:53 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7315 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 V5R4 Generate Symmetric Key (QC3GENSK, Qc3GenSymmetricKey) API 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 Answered: Oct 22 2009  11:24 PM GMT by TomLiotta   7315 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



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

Droutt   50 pts.  |   Oct 22 2009  11:37PM GMT

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.

 
0