This repository was created to provide examples of how to create and also document the Caesar Cipher program
According to Geeks for Geeks Caesar Cipher is:
The Caesar Cipher technique is one of the earliest and simplest method of encryption technique. It's simply a type of substitution cipher, i.e., each letter of a given text is replaced by a letter some fixed number of positions down the alphabet. For example with a shift of 1, A would be replaced by B, B would become C, and so on. The method is apparently named after Julius Caesar, who apparently used it to communicate with his officials."
Thus to cipher a given text we need an integer value, known as shift which indicates the number of position each letter of the text has been moved down. The encryption can be represented using modular arithmetic by first transforming the letters into numbers, according to the scheme, A = 0, B = 1,…, Z = 25
- To perform Encryption, use the code
Encryption.c
and then enter the message you want to be encrypted and enter the key value - To perform Decryption, use the code
Decryption.c
and then enter the ciphertext and enter the key value
This Repository has MIT License.
This license allows the user to make any changes to the program code. This license only requires the user to include the license and author's copyright in the redistributed code and there is no prohibition against using the trademark of the original author. In addition, the user also has no right to sue the manufacturer when there is damage to the software.
Repository ini dibuat untuk memberikan contoh cara membuat dan juga dokumentasi program Caesar Cipher
Menurut Geeks for Geeks Caesar Cipher adalah:
The Caesar Cipher technique is one of the earliest and simplest method of encryption technique. It’s simply a type of substitution cipher, i.e., each letter of a given text is replaced by a letter some fixed number of positions down the alphabet. For example with a shift of 1, A would be replaced by B, B would become C, and so on. The method is apparently named after Julius Caesar, who apparently used it to communicate with his officials."
Thus to cipher a given text we need an integer value, known as shift which indicates the number of position each letter of the text has been moved down. The encryption can be represented using modular arithmetic by first transforming the letters into numbers, according to the scheme, A = 0, B = 1,…, Z = 25
Yang dalam Bahasa Indonesianya berarti, Caesar Cipher adalah sebuah teknik yang paling awal dan sederhana dalam melakukan sebuah enkripsi. Caesar Cipher adalah sebuah tipe dari Substitusion Ciper yang berarti tiap huruf digantikan dengan sebuah huruf lain yang berjarak sebuah angka tetap dari posisinya dalam urutan sebuah alfabet. Semisal dengan sebuah key atau shift 1, maka huruf A akan digantikan dengan huruf B, huruf B akan digantikan dengan huruf C, dan seterusnya. Sedangkan untuk melakukan dekripsi kita harus mengetahui nilai dari integer key atau shift ini.
- Untuk melakukan Enkripsi, gunakan code
Encryption.c
dan kemudian masukkan pesan yang ingin dienkripsi dan masukkan nilai key-nya - Untuk melakukan Dekripsi, gunakan code
Decryption.c
dan kemudian masukan ciphertext-nya dan masukkan nilai key-nya
Repository ini memiliki Lisensi MIT.
Lisensi ini membolehkan pengguna untuk melakukan perubahan apapun pada kode program. Lisensi ini hanya mewajibkan pengguna untuk menyertakan lisensi dan copyright pembuat pada kode yang didistribusikan ulang dan tidak ada larangan untuk menggunakan trademark dari pembuat asli. Selain itu pengguna juga tidak berhak untuk menuntut pembuat ketika terjadi kerusakan pada perangkat lunak tersebut.