Search the web
Sign In
New User? Sign Up
honolulu-coders · Honolulu Coders
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Programming Question for group(s)   Message List  
Reply | Forward Message #68 of 929 |
I am trying to write a small demo application where two programs
exchange information and an HMAC (hmacmd5). With the Java cryptograpy
extension, I can create a random key, and use this as the key for the
mac. However, I would like the key to be set before the exchange takes
place, not generated randomly. For instance, I call up the receiving
party and say that the key is "wizard", they then put this key in the
HMAC object, run the sent text file through it. The receiving party
then verifies that the mac is the same using the agreed upon secret
key.

Obviously, secure data exchange can be done via public/private
cryptography. I'm mainly interested in investigating how to use the
cryptography API's, specifically how to use the MAC classes.

Eric




Thu Mar 4, 2004 10:20 pm

subcallnop
Offline Offline
Send Email Send Email

Forward
Message #68 of 929 |
Expand Messages Author Sort by Date

I am trying to write a small demo application where two programs exchange information and an HMAC (hmacmd5). With the Java cryptograpy extension, I can create...
Eric Meyer
subcallnop
Offline Send Email
Mar 4, 2004
10:19 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help