{"id":3071,"date":"2021-12-14T10:26:51","date_gmt":"2021-12-14T10:26:51","guid":{"rendered":"https:\/\/computerscienced.co.uk\/site\/?page_id=3071"},"modified":"2021-12-14T10:26:54","modified_gmt":"2021-12-14T10:26:54","slug":"christmas-sabotage-week-3-2","status":"publish","type":"page","link":"https:\/\/computerscienced.co.uk\/site\/christmas-sabotage-week-3-2\/","title":{"rendered":"Christmas sabotage &#8211; week 3"},"content":{"rendered":"\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\" style=\"grid-template-columns:22% auto\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"727\" src=\"https:\/\/computerscienced.co.uk\/site\/wp-content\/uploads\/2021\/11\/undraw_the_search_s0xf.svg\" alt=\"\" class=\"wp-image-3031 size-full\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p>Co-ordinates! First, the co-ordinates for the North Pole which is where they were. Next were specific co-ordinates which pointed to the sleigh store.<\/p>\n\n\n\n<p>Santa hurried to the store where he told all of the elves who were busy preparing the sleigh to stop and go elsewhere.<\/p>\n\n\n\n<p>Attached to the sleigh was another note. It read \u201cNo more Christmas\u201d and a lot of garbled text.<\/p>\n\n\n\n<p>It wasn\u2019t a Caesar cipher but it looked close, perhaps it was a Vigenere cipher and \u2018No more Christmas\u2019 was the key phrase!<\/p>\n\n\n\n<p>Help Santa decrypt the message and help save Christmas!<\/p>\n<\/div><\/div>\n\n\n\n<head>\n\t\t<meta charset=\"utf-8\" \/>\n\t\t<script src='https:\/\/computerscienced.co.uk\/site\/caesarwheel\/caesar_cipher.js'><\/script>\n\t\t<link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/computerscienced.co.uk\/site\/caesarwheel\/caesar_cipher.css\" media=\"all\" \/>\n\t<\/head>\n\t<body onload='init();'>\n<b>Enter the shift value:<\/b> <input id=\"shift\" type=\"text\" value=\"00\" maxlength=\"2\" \/><br>\n\t\t<canvas id=\"caesar\" width=\"480\" height=\"480\"><\/canvas>\n\t\t<br>\n\t<\/body>\n\n\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-75\" class=\"h5p-iframe\" data-content-id=\"75\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Christmas sabotage week 3\"><\/iframe><\/div>\n\n\n\n<div class=\"wp-block-pb-accordion-item c-accordion__item js-accordion-item no-js\" data-initially-open=\"false\" data-click-to-close=\"true\" data-auto-close=\"true\" data-scroll=\"true\" data-scroll-offset=\"0\"><h2 id=\"at-30710\" class=\"c-accordion__title js-accordion-controller\" role=\"button\">Instructions (click to expand)<\/h2><div id=\"ac-30710\" class=\"c-accordion__content\">\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"epyt-video-wrapper\"><div  id=\"_ytid_86940\"  width=\"640\" height=\"360\"  data-origwidth=\"640\" data-origheight=\"360\"  data-relstop=\"1\" data-facadesrc=\"https:\/\/www.youtube.com\/embed\/dMz8274CaTM?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=0&#038;disablekb=0&#038;\" class=\"__youtube_prefs__ epyt-facade epyt-is-override  no-lazyload\"><img decoding=\"async\" data-spai-excluded=\"true\" class=\"epyt-facade-poster skip-lazy\" loading=\"lazy\"  alt=\"YouTube player\"  src=\"https:\/\/i.ytimg.com\/vi\/dMz8274CaTM\/maxresdefault.jpg\"  \/><button class=\"epyt-facade-play\" aria-label=\"Play\"><svg data-no-lazy=\"1\" height=\"100%\" version=\"1.1\" viewBox=\"0 0 68 48\" width=\"100%\"><path class=\"ytp-large-play-button-bg\" d=\"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z\" fill=\"#f00\"><\/path><path d=\"M 45,24 27,14 27,34\" fill=\"#fff\"><\/path><\/svg><\/button><\/div><\/div>\n<\/div><\/figure>\n\n\n\n<p>This is an online version of the Caesar cipher wheel. Simply enter the shift value into the box and the outside &#8220;A&#8221; will rotate to the correct shift value. <\/p>\n\n\n\n<p>To <strong>encode<\/strong> a message find the letter from the OUTSIDE you want to use and the letter next to it on the INSIDE is the coded letter you should write down.  <\/p>\n\n\n\n<p>To <strong>decode<\/strong> a message find the letter on the INSIDE you want to decode and the letter next to it on the OUTSIDE is the decoded letter.  <\/p>\n\n\n\n<p>To write a code (encrypt a message) work from the OUTSIDE to the INSIDE<\/p>\n\n\n\n<p>To work out a code (decrypt a message) go from the INSIDE to the OUTSIDE<\/p>\n\n\n\n<p>   <\/p>\n<\/div><\/div>\n\n\n<p><!--EndFragment--><\/p>\n\n\n<hr class=\"wp-block-separator has-text-color has-background has-contrast-background-color has-contrast-color is-style-wide\"\/>\n\n\n\n<p>Original idea code from <a href=\"https:\/\/github.com\/rheh\/HTML5-canvas-projects\/tree\/master\/caesar_cipher\"><a href=\"https:\/\/github.com\/rheh\/HTML5-canvas-projects\/tree\/master\/caesar_cipher\">https:\/\/github.com\/rheh\/HTML5-canvas-projects\/tree\/master\/caesar_cipher<\/a><\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Co-ordinates! First, the co-ordinates for the North Pole which is where they were. Next were specific co-ordinates which pointed to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3031,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"disable_featured_image":true,"footnotes":""},"class_list":["post-3071","page","type-page","status-publish","has-post-thumbnail","hentry"],"blog_post_layout_featured_media_urls":{"thumbnail":["https:\/\/computerscienced.co.uk\/site\/wp-content\/uploads\/2021\/11\/undraw_the_search_s0xf.svg",150,150,true],"full":["https:\/\/computerscienced.co.uk\/site\/wp-content\/uploads\/2021\/11\/undraw_the_search_s0xf.svg",649,727,false]},"categories_names":null,"comments_number":"0","_links":{"self":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/3071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/comments?post=3071"}],"version-history":[{"count":1,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/3071\/revisions"}],"predecessor-version":[{"id":3072,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/3071\/revisions\/3072"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/media\/3031"}],"wp:attachment":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/media?parent=3071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}