LaFayette's Profile User Rating: -----

Reputation: 43 Craftsman
Group:
Contributors
Active Posts:
326 (0.16 per day)
Joined:
24-November 08
Profile Views:
6,023
Last Active:
User is offline Aug 30 2012 09:45 AM
Currently:
Offline

Previous Fields

Country:
SE
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Playstation
Your Car:
Who Cares
Dream Kudos:
25

Latest Visitors

Icon   LaFayette has not set their status

Posts I've Made

  1. In Topic: public key exponent generation error

    Posted 20 Aug 2012

    The exponent e is normally just picked to be a some prime (like 3 or 17). I don't know what you are doing though. Why is there no condition on p and q to be (distinct) primes in your code?
  2. In Topic: Only last value in a set can be found

    Posted 20 Aug 2012

    View Postsmohd, on 20 August 2012 - 09:10 AM, said:

    (...) you need a break in the if condition


    Alternatively, one could have the default "not found" printout before the loop and skip the else branch within it.

    To OP: Your problem would probably have become quite apparent if you had debugged your code with a few System.out.println in the loop. Consider that a tip for the future :)

My Information

Member Title:
D.I.C Regular
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Years Programming:
8
Programming Languages:
Java, C/C++, Haskell, Python

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Friends

Comments

LaFayette has no profile comments yet. Why not say hello?