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 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
Jump to PostIf you have no idea at all about cryptography, it is difficult to explain... You need to read more. One book may fit to your understanding than the other. Here are 2 links about Elgamal encryption.
http://ece.wpi.edu/~selcuk/ee578/chapter11.pdf
http://www.usna.edu/Users/math/wdj/book/node48.htmlIn plain word, a recipient …
Jump to PostFor letters, you just iterate through a string and use each char value (supposedly ASCII value of a character for simplicity) as a number.
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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.