Find the result of this dual key cipher












4












$begingroup$


I came up with a neat little cipher that I'm calling the dual key cipher. The basic premise is that there are two cipher keys that, when used together can decode the cipher text against a given alphabet. Here is a basic example.



Key 1: CAT
Key 2: DOG
Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher Text: ISA


The result would be:




HEN




Can you solve for this one? Bonus points for showing your work.



Puzzle 1 
Key 1: FISH
Key 2: DUCK
Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher Text: ZUBG


Additional (off-topic) questions: Does anyone know if this type of cipher exists and if it has an official name? I've developed an algorithm that does this at a massive scale and wanted to know if anyone finds it interesting. Here is a somewhat more difficult version using my algorithm.



Puzzle 2 
Key 1: Chocolate
Key 2: Strawberry
Alphabet: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher Text: lmqgtbeyVXPERdpbX



Hint: The space between "z A" is part of this "alphabet".











share|improve this question







New contributor




tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    4












    $begingroup$


    I came up with a neat little cipher that I'm calling the dual key cipher. The basic premise is that there are two cipher keys that, when used together can decode the cipher text against a given alphabet. Here is a basic example.



    Key 1: CAT
    Key 2: DOG
    Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
    Cipher Text: ISA


    The result would be:




    HEN




    Can you solve for this one? Bonus points for showing your work.



    Puzzle 1 
    Key 1: FISH
    Key 2: DUCK
    Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
    Cipher Text: ZUBG


    Additional (off-topic) questions: Does anyone know if this type of cipher exists and if it has an official name? I've developed an algorithm that does this at a massive scale and wanted to know if anyone finds it interesting. Here is a somewhat more difficult version using my algorithm.



    Puzzle 2 
    Key 1: Chocolate
    Key 2: Strawberry
    Alphabet: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
    Cipher Text: lmqgtbeyVXPERdpbX



    Hint: The space between "z A" is part of this "alphabet".











    share|improve this question







    New contributor




    tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      4












      4








      4


      1



      $begingroup$


      I came up with a neat little cipher that I'm calling the dual key cipher. The basic premise is that there are two cipher keys that, when used together can decode the cipher text against a given alphabet. Here is a basic example.



      Key 1: CAT
      Key 2: DOG
      Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
      Cipher Text: ISA


      The result would be:




      HEN




      Can you solve for this one? Bonus points for showing your work.



      Puzzle 1 
      Key 1: FISH
      Key 2: DUCK
      Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
      Cipher Text: ZUBG


      Additional (off-topic) questions: Does anyone know if this type of cipher exists and if it has an official name? I've developed an algorithm that does this at a massive scale and wanted to know if anyone finds it interesting. Here is a somewhat more difficult version using my algorithm.



      Puzzle 2 
      Key 1: Chocolate
      Key 2: Strawberry
      Alphabet: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
      Cipher Text: lmqgtbeyVXPERdpbX



      Hint: The space between "z A" is part of this "alphabet".











      share|improve this question







      New contributor




      tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      I came up with a neat little cipher that I'm calling the dual key cipher. The basic premise is that there are two cipher keys that, when used together can decode the cipher text against a given alphabet. Here is a basic example.



      Key 1: CAT
      Key 2: DOG
      Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
      Cipher Text: ISA


      The result would be:




      HEN




      Can you solve for this one? Bonus points for showing your work.



      Puzzle 1 
      Key 1: FISH
      Key 2: DUCK
      Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ
      Cipher Text: ZUBG


      Additional (off-topic) questions: Does anyone know if this type of cipher exists and if it has an official name? I've developed an algorithm that does this at a massive scale and wanted to know if anyone finds it interesting. Here is a somewhat more difficult version using my algorithm.



      Puzzle 2 
      Key 1: Chocolate
      Key 2: Strawberry
      Alphabet: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
      Cipher Text: lmqgtbeyVXPERdpbX



      Hint: The space between "z A" is part of this "alphabet".








      cipher pattern puzzle-creation algorithm puzzle-history






      share|improve this question







      New contributor




      tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      tremortremor

      3487




      3487




      New contributor




      tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      tremor is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          3












          $begingroup$

          The cipher is decoded by




          rotating each character in the ciphertext through the "alphabet" by the index in the "alphabet" of the corresponding character in the first key minus the index of the corresponding character in the second key. If the end of one of the keys is reached, it wraps around.




          The answer to the first puzzle is:




          "BIRD":


            Z   U   B   G
          + F I S H
          - D U C K
          +2 -12 +16 -3
          B I R D



          The answer to the second puzzle is:




          "Vanilla Ice Cream":


            l   m   q   g   t   b   e   y   V   X   P   E   R   d   p   b   X
          + C h o c o l a t e C h o c o l a t
          - S t r a w b e r r y S t r a w b e
          -16 -12 -3 +2 -8 +10 -4 +2 -13 +5 -38 -5 -15 +14 -11 -1 +15
          V a n i l l a I c e C r e a m






          share|improve this answer









          $endgroup$













          • $begingroup$
            Bingo! And I really should call "alphabet", character set, I suppose.
            $endgroup$
            – tremor
            21 hours ago



















          4












          $begingroup$

          The results for both puzzles are:




          BIRD




          and an incomplete one:




          vanilla ...




          The cipher is a variant of:




          Vigenere Cipher




          But:




          Instead of using 1 key, it uses 2 keys. The result can be found by original Vigenere Cipher by this step:

          - Let Key 3 be equal to deciphering Key 2 with Passphrase of Key 1

          - The result will be equal to deciphering the Cipher Text with Passphrase of Key 3




          A note for the alphabets:




          Instead of using simple order from A to Z, we can change the order with specified Alphabet. But deciphering this needs a computer program or some works with hands.. I'm sorry I'm too lazy to solve the Puzzle 2 because of this.. ><







          share|improve this answer









          $endgroup$













          • $begingroup$
            Worth an upvote for being close.
            $endgroup$
            – tremor
            yesterday












          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "559"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          tremor is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f81466%2ffind-the-result-of-this-dual-key-cipher%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3












          $begingroup$

          The cipher is decoded by




          rotating each character in the ciphertext through the "alphabet" by the index in the "alphabet" of the corresponding character in the first key minus the index of the corresponding character in the second key. If the end of one of the keys is reached, it wraps around.




          The answer to the first puzzle is:




          "BIRD":


            Z   U   B   G
          + F I S H
          - D U C K
          +2 -12 +16 -3
          B I R D



          The answer to the second puzzle is:




          "Vanilla Ice Cream":


            l   m   q   g   t   b   e   y   V   X   P   E   R   d   p   b   X
          + C h o c o l a t e C h o c o l a t
          - S t r a w b e r r y S t r a w b e
          -16 -12 -3 +2 -8 +10 -4 +2 -13 +5 -38 -5 -15 +14 -11 -1 +15
          V a n i l l a I c e C r e a m






          share|improve this answer









          $endgroup$













          • $begingroup$
            Bingo! And I really should call "alphabet", character set, I suppose.
            $endgroup$
            – tremor
            21 hours ago
















          3












          $begingroup$

          The cipher is decoded by




          rotating each character in the ciphertext through the "alphabet" by the index in the "alphabet" of the corresponding character in the first key minus the index of the corresponding character in the second key. If the end of one of the keys is reached, it wraps around.




          The answer to the first puzzle is:




          "BIRD":


            Z   U   B   G
          + F I S H
          - D U C K
          +2 -12 +16 -3
          B I R D



          The answer to the second puzzle is:




          "Vanilla Ice Cream":


            l   m   q   g   t   b   e   y   V   X   P   E   R   d   p   b   X
          + C h o c o l a t e C h o c o l a t
          - S t r a w b e r r y S t r a w b e
          -16 -12 -3 +2 -8 +10 -4 +2 -13 +5 -38 -5 -15 +14 -11 -1 +15
          V a n i l l a I c e C r e a m






          share|improve this answer









          $endgroup$













          • $begingroup$
            Bingo! And I really should call "alphabet", character set, I suppose.
            $endgroup$
            – tremor
            21 hours ago














          3












          3








          3





          $begingroup$

          The cipher is decoded by




          rotating each character in the ciphertext through the "alphabet" by the index in the "alphabet" of the corresponding character in the first key minus the index of the corresponding character in the second key. If the end of one of the keys is reached, it wraps around.




          The answer to the first puzzle is:




          "BIRD":


            Z   U   B   G
          + F I S H
          - D U C K
          +2 -12 +16 -3
          B I R D



          The answer to the second puzzle is:




          "Vanilla Ice Cream":


            l   m   q   g   t   b   e   y   V   X   P   E   R   d   p   b   X
          + C h o c o l a t e C h o c o l a t
          - S t r a w b e r r y S t r a w b e
          -16 -12 -3 +2 -8 +10 -4 +2 -13 +5 -38 -5 -15 +14 -11 -1 +15
          V a n i l l a I c e C r e a m






          share|improve this answer









          $endgroup$



          The cipher is decoded by




          rotating each character in the ciphertext through the "alphabet" by the index in the "alphabet" of the corresponding character in the first key minus the index of the corresponding character in the second key. If the end of one of the keys is reached, it wraps around.




          The answer to the first puzzle is:




          "BIRD":


            Z   U   B   G
          + F I S H
          - D U C K
          +2 -12 +16 -3
          B I R D



          The answer to the second puzzle is:




          "Vanilla Ice Cream":


            l   m   q   g   t   b   e   y   V   X   P   E   R   d   p   b   X
          + C h o c o l a t e C h o c o l a t
          - S t r a w b e r r y S t r a w b e
          -16 -12 -3 +2 -8 +10 -4 +2 -13 +5 -38 -5 -15 +14 -11 -1 +15
          V a n i l l a I c e C r e a m







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          insert_name_hereinsert_name_here

          1763




          1763












          • $begingroup$
            Bingo! And I really should call "alphabet", character set, I suppose.
            $endgroup$
            – tremor
            21 hours ago


















          • $begingroup$
            Bingo! And I really should call "alphabet", character set, I suppose.
            $endgroup$
            – tremor
            21 hours ago
















          $begingroup$
          Bingo! And I really should call "alphabet", character set, I suppose.
          $endgroup$
          – tremor
          21 hours ago




          $begingroup$
          Bingo! And I really should call "alphabet", character set, I suppose.
          $endgroup$
          – tremor
          21 hours ago











          4












          $begingroup$

          The results for both puzzles are:




          BIRD




          and an incomplete one:




          vanilla ...




          The cipher is a variant of:




          Vigenere Cipher




          But:




          Instead of using 1 key, it uses 2 keys. The result can be found by original Vigenere Cipher by this step:

          - Let Key 3 be equal to deciphering Key 2 with Passphrase of Key 1

          - The result will be equal to deciphering the Cipher Text with Passphrase of Key 3




          A note for the alphabets:




          Instead of using simple order from A to Z, we can change the order with specified Alphabet. But deciphering this needs a computer program or some works with hands.. I'm sorry I'm too lazy to solve the Puzzle 2 because of this.. ><







          share|improve this answer









          $endgroup$













          • $begingroup$
            Worth an upvote for being close.
            $endgroup$
            – tremor
            yesterday
















          4












          $begingroup$

          The results for both puzzles are:




          BIRD




          and an incomplete one:




          vanilla ...




          The cipher is a variant of:




          Vigenere Cipher




          But:




          Instead of using 1 key, it uses 2 keys. The result can be found by original Vigenere Cipher by this step:

          - Let Key 3 be equal to deciphering Key 2 with Passphrase of Key 1

          - The result will be equal to deciphering the Cipher Text with Passphrase of Key 3




          A note for the alphabets:




          Instead of using simple order from A to Z, we can change the order with specified Alphabet. But deciphering this needs a computer program or some works with hands.. I'm sorry I'm too lazy to solve the Puzzle 2 because of this.. ><







          share|improve this answer









          $endgroup$













          • $begingroup$
            Worth an upvote for being close.
            $endgroup$
            – tremor
            yesterday














          4












          4








          4





          $begingroup$

          The results for both puzzles are:




          BIRD




          and an incomplete one:




          vanilla ...




          The cipher is a variant of:




          Vigenere Cipher




          But:




          Instead of using 1 key, it uses 2 keys. The result can be found by original Vigenere Cipher by this step:

          - Let Key 3 be equal to deciphering Key 2 with Passphrase of Key 1

          - The result will be equal to deciphering the Cipher Text with Passphrase of Key 3




          A note for the alphabets:




          Instead of using simple order from A to Z, we can change the order with specified Alphabet. But deciphering this needs a computer program or some works with hands.. I'm sorry I'm too lazy to solve the Puzzle 2 because of this.. ><







          share|improve this answer









          $endgroup$



          The results for both puzzles are:




          BIRD




          and an incomplete one:




          vanilla ...




          The cipher is a variant of:




          Vigenere Cipher




          But:




          Instead of using 1 key, it uses 2 keys. The result can be found by original Vigenere Cipher by this step:

          - Let Key 3 be equal to deciphering Key 2 with Passphrase of Key 1

          - The result will be equal to deciphering the Cipher Text with Passphrase of Key 3




          A note for the alphabets:




          Instead of using simple order from A to Z, we can change the order with specified Alphabet. But deciphering this needs a computer program or some works with hands.. I'm sorry I'm too lazy to solve the Puzzle 2 because of this.. ><








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          athinathin

          8,53222776




          8,53222776












          • $begingroup$
            Worth an upvote for being close.
            $endgroup$
            – tremor
            yesterday


















          • $begingroup$
            Worth an upvote for being close.
            $endgroup$
            – tremor
            yesterday
















          $begingroup$
          Worth an upvote for being close.
          $endgroup$
          – tremor
          yesterday




          $begingroup$
          Worth an upvote for being close.
          $endgroup$
          – tremor
          yesterday










          tremor is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          tremor is a new contributor. Be nice, and check out our Code of Conduct.













          tremor is a new contributor. Be nice, and check out our Code of Conduct.












          tremor is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Puzzling Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f81466%2ffind-the-result-of-this-dual-key-cipher%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          GameSpot

          日野市

          Tu-95轟炸機