- Cell Phones 613
- Editors 252
- Education, Science & Engineering 302
- Games 1662
- Internet 545
- Mobile Software 26
- Multimedia & Graphics 1045
- PC 386
- Programming 351
- C# 77
- Data Bases 118
- PHP 54
- Miscellaneous 102
- Security 1344
- SEO 60
- Utilities 810
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 |