I am going to do my first Java Project the ElGamal's Encryption.

Honestly, i have no idea yet on how to start my program because i don't have idea in encryption but i have to do it. Because it was assigned to me by our instructor. Please help me.

mrjillberth
-3
Light Poster

## Recommended Answers

Jump to PostDo you have the algorithm so you can design the code?

Is the program going to have a GUI or will its interface be via the commandline or console?

Do you have any specific questions?

Jump to PostIn your posted algorithm there are still a lot of undefined terms.

p = 2kq+1 is a prime

What is k?

g generator of Gp

what does this mean?

Jump to PostI have no knowledge of the algorithm. I'm only a programmer, not a mathematician.

Jump to PostTo do this encryption, you have to break it into 3 parts - key generation, encryption, and decryption. You need to read how to generate a set of group which satisfies the rules. Please read about it at

## All 16 Replies

NormR1
563
Posting Sage
Team Colleague

mrjillberth
-3
Light Poster

NormR1
563
Posting Sage
Team Colleague

mrjillberth
-3
Light Poster

NormR1
563
Posting Sage
Team Colleague

Taywin
312
Posting Virtuoso

mrjillberth
-3
Light Poster

mrjillberth
-3
Light Poster

Taywin
312
Posting Virtuoso

sirlink99
56
Practically a Master Poster

mrjillberth
-3
Light Poster

sirlink99
56
Practically a Master Poster

mrjillberth
-3
Light Poster

mrjillberth
-3
Light Poster

Taywin
312
Posting Virtuoso

mrjillberth
-3
Light Poster

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.