Encryption El Gamal

The sale of this product is suspended.

Try to search similar items from other sellers.

Sold: 11 last one 01.11.2016
Refunds: 0

Uploaded: 08.04.2012
Content: el_gamal.zip 141,64 kB

Product description

Encryption El Gamal


The program shows the encryption algorithm El Gamal. You must enter P, Q, and X number and a word or sentence that you want zashirovat. Security El Gamal scheme due to the complexity of computing discrete logarithms in a finite field.
In order to generate a key pair (public key - private key), first choose a large prime number P and a large integer G, where G <R. The numbers P and G can be distributed among the group members. Then choose a random integer X, where X <P. The number of X is the secret key should be kept secret.
Next calculate Y = GX mod P. The number Y is the public key. To encrypt a message M, choosing a random integer K, 1 <K <P-1, such that the number of K and (P-1) are relatively prime. Then calculate the number a = GKmodP, b = YK M mod P. The pair of numbers (a, b) is the ciphertext. Note that the length of the ciphertext twice the length of the original plaintext M. In order to decrypt ciphertext (a, b), calculated M = b / aXmod R.

Additional information

C # Windows Forms. Visual Studio 2010

Feedback

0  1
Period
1 month 3 months 12 months
0 0 0
0 0 0
In order to counter copyright infringement and property rights, we ask you to immediately inform us at support@plati.market the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)

This website uses cookies to provide a more effective user experience. See our Cookie policy for details.