https://github.com/stevemats/wheatstone-playfair-cipher
C code to encrypt a string using the Playfair cipher.
https://github.com/stevemats/wheatstone-playfair-cipher
cipher cryptography
Last synced: 10 months ago
JSON representation
C code to encrypt a string using the Playfair cipher.
- Host: GitHub
- URL: https://github.com/stevemats/wheatstone-playfair-cipher
- Owner: stevemats
- License: cc0-1.0
- Created: 2021-06-16T10:05:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-16T10:35:42.000Z (about 5 years ago)
- Last Synced: 2025-06-07T23:05:37.201Z (about 1 year ago)
- Topics: cipher, cryptography
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## C code to encrypt a string using the Playfair cipher(This cipher was invented by Charles Wheatstone at around 1854)
- There are two main types of cryptography in use:
1. *Symmetric key cryptography* - When the same key is used for both encryption and decryption
2. _Asymmetric key cryptography_ - When one key is used for encryption and another for decryption
- The Playfair cipher or Playfair square or Wheatstone–Playfair cipher, is a polyalphabetic substitution cipher, meaning that one letter can be denoted by different letters in its encryption, depending on the keyword used, which is given to both parties.
Read more about it here: https://en.wikipedia.org/wiki/Playfair_cipher