How can I use my own key that has already been generated elsewhere in my method to create this fingerprint below. I can only find examples online where the key is generated?
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
posted
0
Confused as to what you're asking. Do you need to read an externally generated key? What format does the key come in? Have you looked at the JCE documentation in the JDK?
- Peter [ September 08, 2004: Message edited by: Peter den Haan ]
B Wiley Snyder
Ranch Hand
Joined: Nov 26, 2003
Posts: 50
posted
0
Originally posted by Peter den Haan: Confused as to what you're asking. Do you need to read an externally generated key? What format does the key come in? Have you looked at the JCE documentation in the JDK?
- Peter
[ September 08, 2004: Message edited by: Peter den Haan ]
Yes after studying the API for JCE I finally figured it out, took a while but i did. I had my own key, I just had to convert it to a Key and insert that into the MAC with "hmacMD5"... anyway thanks for the reply !
B Wiley Snyder
Ranch Hand
Joined: Nov 26, 2003
Posts: 50
posted
0
Originally posted by sabre tooth: Tut Tut Wiley.
Grant gave you the information in the SUN cryptography forum!
TUT TUT? ... I cant ask a question on 2 different websites?
[ edited in accordance with our "be nice" rule -ds ] [ September 10, 2004: Message edited by: Dirk Schreckmann ]
B Wiley, it is considered impolite to post a question more than once, whether it is within a single group of forums or on different websites. Doing so results in the duplication of effort on the part of the community to answer your question while other inquiries may go unanswered.
And sabre, we have few rules around this here ranch, but the Naming Policy is one of them. Your display name should be a first and last name separated by a space and not obviously fake. Please click here to fix it.
And sabre, we have few rules around this here ranch, but the Naming Policy is one of them. Your display name should be a first and last name separated by a space and not obviously fake.
Thanks for the info; I have updated my record.
Retired horse trader.
Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted
0
Please allow me to get the last words in regarding this squabble.
I deleted a couple of posts.
We like it when folks are friendly around these parts.
Originally posted by Dirk Schreckmann: Please allow me to get the last words in regarding this squabble.
I deleted a couple of posts.
We like it when folks are friendly around these parts.
THANK YOU !!!
Okay, I'm getting closer to solving this problem but I'm still two characters off, I dumped the mac object and just use the digest....
B Wiley Snyder
Ranch Hand
Joined: Nov 26, 2003
Posts: 50
posted
0
Problem solved.......
Don't try to create a HMAC-MD5 Hash algorithm to integrate with authorizenet credit card gateway (SIM) Simple Integration Method. You will never make a hash that matches theres, they don't even want you to use it, thats why they give you an out of date ASP example.
I finally just used thier (AIM) Advanced Integration Method with HttpUrlConnect and everythings peachy .
they call it the Advanced method but ^&*(*&, compared to trying to match a JCE hash with there classic ASP hash its like a dream come true....
thanks for anyone who actually gave my post a thought
-peace
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted
0
Thanks for sharing what you learned.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.