//Target framework: .NET Framework 4.5.2
Encryption/decryption with using cryptography algorithms
Already was realized ElGamal. Elgamal encryption system is an asymmetric key encryption algorithm for public-key cryptography which is based on the Diffie–Hellman key exchange.
Elgamal encryption consists of three components:
- the keys generator (public and private keys);
- the encryption algorithm;
- the decryption algorithm.
RSA:
- the keys generator (public and private keys);