This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Jscript - java and authorizenet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jscript - java and authorizenet" Watch "Jscript - java and authorizenet" New topic
Author

Jscript - java and authorizenet

B Wiley Snyder
Ranch Hand

Joined: Nov 26, 2003
Posts: 50
Hello,
I'm trying to convert JScript to Java so I can generate a fingerprint for a credit card transaction through authorizenet. Maybe someone running throught this thread has an idea if that is a good idea or even if it is do-able. I've managed to convert some of the methods to java but I cannot for the life of me understand what is going on here.... I'm sure you are saying, "I don't either, this is a java forum" but I thought I would post it just in case someone has used both here and could give me some advise.

It looks like it takes in a String array and returns an arry but lines like ...

a = ff(a, b, c, d, x[i+ 0], 7 , -680876936)

have me stumped....



thanks
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
ff, ii, gg etc are "functions" also.
You didn't appear to include them in your code sample.
B Wiley Snyder
Ranch Hand

Joined: Nov 26, 2003
Posts: 50
Originally posted by James Swan:
ff, ii, gg etc are "functions" also.
You didn't appear to include them in your code sample.


Thank you for the reply, ... I finally found the functions but I have now realized that I'm basically just making a MD5 hash and I can do it with JCE. Now I just have to figure that part out.

thanks again...

 
wood burning stoves
 
subject: Jscript - java and authorizenet
 
Similar Threads
how to encrypt the text
New java questions
MD5
How should i encrypt my password?
Why is Java's MD5 different from MySQL MD5?