
What is Elgamal Cryptographic System?
Read more: What is Elgamal Cryptographic System?Elgamal is a public key scheme similar to the DiffieHellman (DH) cryptosystem. Find below the steps of Elgamal scheme. First, you have to generate your keypair using the following steps: Choose a prime number q and a, such a is a primitive root of q Generate a random number XA, such that 1 < XA […]

Asymmetric Cryptography: The RSA algorithm (with examples)
Read more: Asymmetric Cryptography: The RSA algorithm (with examples)The RivestShamirAdleman (RSA) algorithm is the most widely accepted approach in asymmetric cryptography. Asymmetric cryptography means that one key is used to encrypt and a different, but related one is used to decrypting the message. The RSA algorithm is as follows: Notice that from steps 1 to 6, you are just calculating the private and […]

What is the DiffieHellman Key Exchange?
Read more: What is the DiffieHellman Key Exchange?DiffieHellman (DH) Key Exchange is one of the earliest Public Key Cryptosystem. The protocol uses a public key to securely exchange the private key. Although it is a Public Key Cryptosystem, the main goal of this protocol is to exchange a key (a.k.a. shared secret), so the two users can then encrypt the information using […]

How to generate RSA key pairs
Read more: How to generate RSA key pairsThe RivestShamirAdleman (RSA) scheme is the most widely accepted approach for publickey cryptography. Here I’ll show you how to generate RSA key pairs. The RSA algorithm to generate the key pairs is as follows: Choose p, q, two prime numbers Calculate n = pq Calculate f(n) = (p1)(q1) Chose e such that gcd(f(n), e) = […]

What is key length in cryptography and why is important?
Read more: What is key length in cryptography and why is important?In cryptography, we secure a message by encrypting the message with a certain key and then sending it over the network. The security of the encryption usually depends on the key length. In this article, I’ll show why key length is a very important topic in cryptography. Key length (a.k.a. key size) is the number […]

What are Asymmetric algorithms?
Read more: What are Asymmetric algorithms?Asymmetric algorithms are very important in cryptography and especially in digital signatures. The first asymmetric cryptography algorithms were introduced by Whitfield Diffie and Martin Hellman in the 1970s. The main difference between classical and symmetric cryptography is that instead of using a key to encrypt and decrypt, you should now use a pair of keys. […]

Digital certificates validation methods: a comparison
Read more: Digital certificates validation methods: a comparisonDigital Certificates validation is an important topic in keeping information secure. In this article, I’ll show you a comparison of these methods. Using publickey cryptography solves the key exchange problem that exists in symmetric cryptography. However, another problem shows up: trust. Does the public key that comes from the other end of the connection belong […]

OpenPGP: Encryption and digital signature using GpgFrontend
Read more: OpenPGP: Encryption and digital signature using GpgFrontendThis article explains what is OpenPGP and how to use it to encrypt and sign documents. You will understand how this standard works and the foundations of the security of hybrid cryptography systems. What is PGP, OpenPGP and GPG? Pretty Good Privacy (PGP) is an encryption system that combines symmetric and asymmetric algorithms for encryption […]