Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jscript - java and authorizenet

 
B Wiley Snyder
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ff, ii, gg etc are "functions" also.
You didn't appear to include them in your code sample.
 
B Wiley Snyder
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic