- Cell Phones 632
- Editors 266
- Education, Science & Engineering 320
- Games 1659
- Internet 572
- Mobile Software 4
- Multimedia & Graphics 1151
- PC 472
- Programming 352
- C# 76
- Data Bases 121
- PHP 54
- Miscellaneous 101
- Security 1463
- SEO 78
- Utilities 882
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 |