Back to Browse

Caesar Cipher Encryption | String Programs in Java | ISC Computer Practical Questions

22.3K views
Jul 28, 2019
18:00

Learn ICSE Java App: https://play.google.com/store/apps/details?id=amazingapps.learnjava (You can download the above app, goto program section and search for Caesar Cipher. You will get this program there) Other videos on String: https://www.youtube.com/playlist?list=PLGsRpMr9gXDf1T7KqCVJfZcXfFncD6zoA ISC Practical 2017 Question: Caesar Cipher is an encryption technique which is implemented as ROT13 (‘rotate by 13 places’). It is a simple letter substitution cipher that replaces a letter with the letter 13 places after it in the alphabets, with the other characters remaining unchanged. Write a program to accept a plain text of length L, where L must be greater than 3 and less than 100. Encrypt the text if valid as per the Caesar Cipher. Test your program with the sample data and some random data: Example 1 INPUT : Hello! How are you? OUTPUT : The cipher text is: Uryyb? Ubj ner lbh? Example 2 INPUT : Encryption helps to secure data. OUTPUT : The cipher text is: Rapelcgvba urycf gb frpher qngn. Example 3 INPUT : You OUTPUT : INVALID LENGTH You can follow/contact us here, Facebook: https://www.facebook.com/AlokMauryaOfficial Twitter: https://twitter.com/alokmaurya95 Instagram: https://www.instagram.com/alokmaurya95 #AmplifyLearning #Computer

Download

1 formats

Video Formats

360pmp422.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Caesar Cipher Encryption | String Programs in Java | ISC Computer Practical Questions | NatokHD