<div dir="auto">I agree it's not that clear.<div dir="auto"><br></div><div dir="auto">If the goal to be able to simply run the existing code on new input bytes then yes, "BIOPSY" is always the decrypted word since the byte array is the only given input. If the word changes, that hasn't been specified where that input would come from. So, either it doesn't change or the description of the second input is missing.</div><div dir="auto"><br></div><div dir="auto">But using a hard-coded word doesn't sound terribly interesting to code up. You could still write your key finding function to accept two strings of equal length and output the required caesar key. Then for question #10, call it with the word you extract from the input array and the hard-coded target word and write the output key. Then the problem is hard-coded but your code is more generic.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Patrick</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun., Oct. 11, 2020, 8:01 a.m. Greg H, <<a href="mailto:greg.horie@gmail.com">greg.horie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>For me, the confusion is that we're intended to write code to derive the cipher key value. I did this and came up with an answer, but this key is only relevant 
"HOUVYE" / 
"BIOPSY". <br></div><div><br></div><div>So should I take this key and make it a constant for future inputs / encryptions? That's what I ended up doing with my final code submission. <br></div><div><br></div><div>I took out the code that solved the problem because unused code seems like lint to me, but maybe I should put it back to show how I did it.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 10 Oct 2020 at 17:45, James Briante <<a href="mailto:briantej@gmail.com" target="_blank" rel="noreferrer">briantej@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default">Hi Patrick,</div><div class="gmail_default"> Yes, you can look at only the first character of the string and use it to get the key. <span style="color:rgb(0,0,0);font-family:euclid_circular_a,"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif">Comparing all characters as the advantage of catching errors in </span>encryption<span style="color:rgb(0,0,0);font-family:euclid_circular_a,"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif">/decryption. </span>The code is just as short using  "compare strings"  of your particular language. </div><div class="gmail_default"><br></div><div class="gmail_default">In C <span style="background-color:rgb(245,245,245);color:rgb(37,38,94);font-family:"Droid Sans Mono",Inconsolata,Menlo,Consolas,"Bitstream Vera Sans Mono",Courier,monospace;font-size:14px">int strcmp (const char* str1, const char* str2);</span><span class="gmail_default" style="font-family:euclid_circular_a,"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif"><font color="#000000">, in C++ </font></span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">int</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"> </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(102,0,0)">CompareText</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">(</span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">const</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"> AnsiString </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(128,0,128)">S1</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">, </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">const</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"> AnsiString </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(128,0,128)">S2</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">); Pascal ( Delphi) </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">function</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"> </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(102,0,0)">CompareText</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">(</span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">const</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"> </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(128,0,128)">S1</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">: </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">string</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">; </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">const</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"> </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(128,0,128)">S2</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">: </span><strong style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em"><span style="color:rgb(0,128,0)">string</span></strong><span style="background-color:rgb(247,247,255);color:rgb(0,0,0);font-family:"Courier New",Courier,monospace;font-size:0.95em">): Integer;</span></div><div class="gmail_default"><span class="gmail_default" style="font-family:euclid_circular_a,"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif"><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></span></div><div class="gmail_default"><span class="gmail_default" style="font-family:euclid_circular_a,"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif"><span style="background-color:rgb(255,255,255)"><font color="#000000">Aside: The purpose of the final test data is to see if your outputs are correct when you run your code with the new data. It should work the first time with no changes in the actual code.</font></span></span></div><div class="gmail_default"><span class="gmail_default" style="font-family:euclid_circular_a,"Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif"><span style="background-color:rgb(255,255,255)"><font color="#000000">Jim</font></span></span></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 10, 2020 at 4:46 PM George Bowden <<a href="mailto:gtbowdeng@gmail.com" target="_blank" rel="noreferrer">gtbowdeng@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Michelle<div>If you are on a laptop or computer using chrome, you can hold down the CTRL key and tap the letter u .  There are things further back than that but its a start.  As for ink marks showing through, we try to avoid that because it usually reveals security holes that the bad people exploit.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 10, 2020 at 1:23 PM Michelle Wiboltt <<a href="mailto:michellewiboltt@outlook.com" target="_blank" rel="noreferrer">michellewiboltt@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div dir="ltr">
<div dir="ltr">
<div></div>
<div>
<div>
<div style="direction:ltr">Please help:)</div>
<div style="direction:ltr">Here’s where my crazy comes in, see this image...</div>
<div style="direction:ltr" dir="ltr"></div>
</div>
<div dir="ltr"><img id="m_53956706937097261gmail-m_-5421556496741787068gmail-m_3264433033215304054gmail-m_6670624481409002187id-6E9E6A46-CCA9-4981-BD36-27291714EAA3" src="cid:17514e395331e1bed3b1" alt="Image.jpeg" style="max-width:100%"><br>
</div>
<div dir="ltr">Ok. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Now, if u could think in terms of front back / embroidery and its front back...</div>
<div dir="ltr">So, above is a code interface? But where is the back front and back? Front would be the website, right? So, when I do online shopping, that’s the front. Where is the back view of the front of the website? </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Another example, when writing in ink it can show through the backside when held to the light, kind of thing is what I’m trying to understand? Where’s that on the internet?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Thx</div>
<div dir="ltr">m</div>
<div dir="ltr"><br>
</div>
<div>
<div style="direction:ltr">Michelle Wiboltt</div>
<div style="direction:ltr"><a href="http://www.elb1b69.net" target="_blank" rel="noreferrer">www.elb1b69.net</a></div>
<div style="direction:ltr">604-612-2505</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_53956706937097261gmail-m_-5421556496741787068gmail-m_3264433033215304054gmail-m_6670624481409002187divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Projects <<a href="mailto:projects-bounces@vicpimakers.ca" target="_blank" rel="noreferrer">projects-bounces@vicpimakers.ca</a>> on behalf of Greg H <<a href="mailto:greg.horie@gmail.com" target="_blank" rel="noreferrer">greg.horie@gmail.com</a>><br>
<b>Sent:</b> Saturday, October 10, 2020 8:56:49 AM<br>
<b>To:</b> <a href="mailto:projects@vicpimakers.ca" target="_blank" rel="noreferrer">projects@vicpimakers.ca</a> <<a href="mailto:projects@vicpimakers.ca" target="_blank" rel="noreferrer">projects@vicpimakers.ca</a>><br>
<b>Subject:</b> [VicPiMakers Projects] Jim's Challenge - Output 10 (caesar cipher)</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>I'm looking for clarification on output 10 - caesar cipher problem.<br>
</div>
<div><br>
</div>
<div>Is the intent to calculate the caesar cipher key value OR is the intent to encrypt the string with a pre-determined key? Initially I thought the question was to discover the cipher key value, but on reflection this seems fragile.<br>
</div>
<div><br>
</div>
<div>Reasoning:</div>
<div>- "BIOPSY" will work for the 12 integer input that leads to "HOUVYE", but it will not work for any 12 random integers.
<br>
</div>
<div>- You'd have to reverse engineer your integers starting from "BIOPSY" to get a valid set of 12 integers.<br>
</div>
<div><br>
</div>
<div>I solved it both ways, but posted only the 2nd solution to github because only the 2nd solution will work for a random set of 12 integers.</div>
<div><br>
</div>
<div>I'm curious how other folks solved this one.</div>
<div><br>
</div>
</div>
</div>
</div>

-- <br>
Projects mailing list<br>
<a href="mailto:Projects@vicpimakers.ca" target="_blank" rel="noreferrer">Projects@vicpimakers.ca</a><br>
<a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca" rel="noreferrer noreferrer" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>George Bowden, vice president, Victoria Computer Club<br><a href="mailto:gtbowdeng@gmail.com" target="_blank" rel="noreferrer">gtbowdeng@gmail.com</a></div></div></div>
-- <br>
Projects mailing list<br>
<a href="mailto:Projects@vicpimakers.ca" target="_blank" rel="noreferrer">Projects@vicpimakers.ca</a><br>
<a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca" rel="noreferrer noreferrer" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>
</blockquote></div>
-- <br>
Projects mailing list<br>
<a href="mailto:Projects@vicpimakers.ca" target="_blank" rel="noreferrer">Projects@vicpimakers.ca</a><br>
<a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca" rel="noreferrer noreferrer" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>
</blockquote></div>
-- <br>
Projects mailing list<br>
<a href="mailto:Projects@vicpimakers.ca" target="_blank" rel="noreferrer">Projects@vicpimakers.ca</a><br>
<a href="http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca" rel="noreferrer noreferrer" target="_blank">http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca</a><br>
</blockquote></div>