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

Publié le: 28 July 2019
sur la chaîne: Amplify Learning - with Alok
22,471
557

Learn ICSE Java App: https://play.google.com/store/apps/de...

(You can download the above app, goto program section and search for Caesar Cipher. You will get this program there)

Other videos on String:    • String in Java  

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:   / alokmauryaofficial  
Twitter:   / alokmaurya95  
Instagram:   / alokmaurya95  

#AmplifyLearning #Computer


Sur cette page du site, vous pouvez voir la vidéo en ligne Caesar Cipher Encryption | String Programs in Java | ISC Computer Practical Questions durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Amplify Learning - with Alok 28 July 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 22,471 fois et il a aimé 557 téléspectateurs. Bon visionnage!