Search:

Type: Posts; User: aznlitomik3

Search: Search took 0.07 seconds.

  1. Replies
    8
    Views
    1,030

    Re: What is wrong with my code?

    This is the error I'm getting: (Below in RED)


    DH_TEST.java:51: error: method CalculateKey in class USER cannot be applied to g
    iven types;
    BigInteger KEY_OF_USER_A =...
  2. Replies
    8
    Views
    1,030

    Re: What is wrong with my code?

    After adding in the BigInteger type for both userA and userB. Now I'm getting another error about the return (userA, userB);




    import java.math.BigInteger;

    public class DH_TEST {
  3. Replies
    8
    Views
    1,030

    What is wrong with my code?

    Hi,

    I'm a beginner and I'm not sure what is wrong with my code or maybe someone can help. I only need to implement code in the very last function (CalculateKey).

    Thanks,
Results 1 to 3 of 3