07-Jan-2022 17:55:20 CAESAR_TEST MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2. Test CAESAR. S2 = S_TO_CAESAR ( S1, K ), varying K. K ---------------S1---------------- ---------------S2---------------- -5 "A man, a plan, a canal: Panama!" "A hai, a kgai, a aaiag: Kaiaha!" -4 "A man, a plan, a canal: Panama!" "A iaj, a lhaj, a aajah: Lajaia!" -3 "A man, a plan, a canal: Panama!" "A jak, a miak, a aakai: Makaja!" -2 "A man, a plan, a canal: Panama!" "A kal, a njal, a aalaj: Nalaka!" -1 "A man, a plan, a canal: Panama!" "A lam, a okam, a bamak: Oamala!" 0 "A man, a plan, a canal: Panama!" "A man, a plan, a canal: Panama!" 1 "A man, a plan, a canal: Panama!" "B nbo, b qmbo, b dbobm: Qbobnb!" 2 "A man, a plan, a canal: Panama!" "C ocp, c rncp, c ecpcn: Rcpcoc!" 3 "A man, a plan, a canal: Panama!" "D pdq, d sodq, d fdqdo: Sdqdpd!" 4 "A man, a plan, a canal: Panama!" "E qer, e tper, e gerep: Tereqe!" 5 "A man, a plan, a canal: Panama!" "F rfs, f uqfs, f hfsfq: Ufsfrf!" S2 = S_TO_CAESAR ( S1, K ). S3 = S_TO_CAESAR ( S2, -K ) K ------------S1------------ ------------S2------------ ------------S3------------ -5 "The key is under the mat" "Oca fat dn piaam oca hao" "Thf kfy is unffr thf mft" -4 "The key is under the mat" "Pda gau eo qjaan pda iap" "The key is uneer the met" -3 "The key is under the mat" "Qeb hbv fp rkabo qeb jaq" "The key is under the mdt" -2 "The key is under the mat" "Rfc icw gq slbcp rfc kar" "The key is under the mct" -1 "The key is under the mat" "Sgd jdx hr tmcdq sgd las" "The key is under the mbt" 0 "The key is under the mat" "The key is under the mat" "The key is under the mat" 1 "The key is under the mat" "Uif lfz jt voefs uif nbu" "The key is under the mat" 2 "The key is under the mat" "Vjg mga ku wpfgt vjg ocv" "The kea is under the mat" 3 "The key is under the mat" "Wkh nhb lv xqghu wkh pdw" "The kea is under the mat" 4 "The key is under the mat" "Xli oic mw yrhiv xli qex" "The kea is under the mat" 5 "The key is under the mat" "Ymj pjd nx zsijw ymj rfy" "The kea is under the mat" CAESAR_TEST Normal end of execution. 07-Jan-2022 17:55:20