/cryptography

Codes and outputs for the encryption and decryption of some popular ciphers.

Primary LanguageCCreative Commons Zero v1.0 UniversalCC0-1.0

Cryptography

Codes and outputs for the encryption and decryption of some popular ciphers.

  1. Playfair cipher - It is a manual symmetric encryption technique and was the first literal digram substitution cipher. The playfair-cipher folder contains the encryption as well as decryption codes with their outputs. This Medium article is a detailed tutorial for encryption using the Playfair cipher and this article is a detailed tutorial on decryption using the Playfair cipher.
  2. Merkle-Hellman Knapsack Cryptosystem - It is a public key cryptosystem, meaning that two keys are used, a public key for encryption and a private key for decryption. It is based on the subset sum problem. The merkle-hellman knapsack folder contains the encryption code as well as its output. This Medium article is a detailed tutorial for encryption using the Merkle-Hellman Knapsack encryption method.