Caesar Cipher Encryption and Decryption in C++

Published: 06 February 2018
on channel: VoxelPixel
31,333
249

Ceasar Cipher in c++
Hi!! In this video I'll be doing ceasar cipher encryption and decryption using C++

-*- Support on Patreon:   / voxelpixel  
-*- Source Code: https://github.com/VoxelPixel

Caesar Cipher is subsitution cipher, its algorithm is as following:
Take alphabetic message (A to Z)
Take a key (1 to 26) (1 being A and 26 being Z)
To encrypt, left-shift or right-shift message letter by letter by the value of key
For example
if message is "ABC" and key is 1 and we are performing right-shift then encrypted text will be A+1 = B, B+1 =

C, C+1 = D. ABC = BCD, BCD being encrypted text.
To decrypt, left-shift or right-shift the message letter by letter opposite to the shift performed in

encryption by the value of key
For example
if encrypted text is "BCD" and key is 1 and we are performing left-shift then encrypted text will be B-1 = A,

C-1 = B, D-1 = C. BCD = ABC, ABC being decrypted text.


On this page of the site you can watch the video online Caesar Cipher Encryption and Decryption in C++ with a duration of hours minute second in good quality, which was uploaded by the user VoxelPixel 06 February 2018, share the link with friends and acquaintances, this video has already been watched 31,333 times on youtube and it was liked by 249 viewers. Enjoy your viewing!