- Cell Phones 631
- Editors 268
- Education, Science & Engineering 315
- Games 1637
- Internet 566
- Mobile Software 4
- Multimedia & Graphics 1134
- PC 409
- Programming 351
- C# 76
- Data Bases 122
- PHP 55
- Miscellaneous 98
- Security 1389
- SEO 76
- Utilities 842
Encryption El Gamal
Refunds: 0
Uploaded: 08.04.2012
Content: el_gamal.zip 141,64 kB
Product description
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 1Period | |||
1 month | 3 months | 12 months | |
0 | 0 | 0 | |
0 | 0 | 0 |