The “foo” encoding

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
5
down vote

favorite
2












Introducing the mysterious foo encoding... based on the common computer programming template variables foo, bar, and baz. This encoding is truly unknown, as a simple sentence of characters returns an unreadable mess of foos and bars and bazes.



Let's say I input the following into my personal encoder: Noodle pie is delicious.



The program spits out the following, which is "foo-encoded":



baz-foo-baz-br- bar-baz-fo-bar- bar-baz-foo-foo- bar-foo-bar-baz- bar-foo-fo-baz- bar-fo-foo-baz- bar-foo-fo-baz- bar-foo-baz-fo- bar-fo-baz-foo- bar-fo-baz-fo- baz-fo-fo-bz- bar-baz-fo-bar- bar-foo-fo-baz- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-fo-baz- bar-baz-fo-fo- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-baz-fo- bar-fo-baz-fo- bar-foo-bar-baz- bar-foo-bar-baz- baz-fo-bar-br-


So how does this mysterious encoding work? That's for you to figure out!



EXTRA NOTE: The encoded messages may contain the following phrases: foo, bar, baz, fo, br, and bz. No, they are not mistakes, they are meant to be there.



HINT:




Sirius. Two. There's your hint.




EXTRA CHALLENGE: Create an encoder/decoder for the foo encoding.










share|improve this question









New contributor




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















  • 1




    Welcome to Puzzling.SE! This looks like a fun puzzle. I see you already have a couple of badges, good for you. You can get another easy one by taking the tour. Is your fourth term br supposed to be a bar? same with 7th term fo should be a foo?
    – Chowzen
    4 hours ago






  • 1




    @Chowzen The program utilizes the keywords foo, bar, baz, fo, br, and bz. I will edit accordingly.
    – connectyourcharger
    4 hours ago










  • @connectyourcharger Could you double-check the sixth group? It's not that I'm confident it's wrong or anything, but it surprises me a bit.
    – Gareth McCaughan♦
    16 mins ago














up vote
5
down vote

favorite
2












Introducing the mysterious foo encoding... based on the common computer programming template variables foo, bar, and baz. This encoding is truly unknown, as a simple sentence of characters returns an unreadable mess of foos and bars and bazes.



Let's say I input the following into my personal encoder: Noodle pie is delicious.



The program spits out the following, which is "foo-encoded":



baz-foo-baz-br- bar-baz-fo-bar- bar-baz-foo-foo- bar-foo-bar-baz- bar-foo-fo-baz- bar-fo-foo-baz- bar-foo-fo-baz- bar-foo-baz-fo- bar-fo-baz-foo- bar-fo-baz-fo- baz-fo-fo-bz- bar-baz-fo-bar- bar-foo-fo-baz- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-fo-baz- bar-baz-fo-fo- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-baz-fo- bar-fo-baz-fo- bar-foo-bar-baz- bar-foo-bar-baz- baz-fo-bar-br-


So how does this mysterious encoding work? That's for you to figure out!



EXTRA NOTE: The encoded messages may contain the following phrases: foo, bar, baz, fo, br, and bz. No, they are not mistakes, they are meant to be there.



HINT:




Sirius. Two. There's your hint.




EXTRA CHALLENGE: Create an encoder/decoder for the foo encoding.










share|improve this question









New contributor




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















  • 1




    Welcome to Puzzling.SE! This looks like a fun puzzle. I see you already have a couple of badges, good for you. You can get another easy one by taking the tour. Is your fourth term br supposed to be a bar? same with 7th term fo should be a foo?
    – Chowzen
    4 hours ago






  • 1




    @Chowzen The program utilizes the keywords foo, bar, baz, fo, br, and bz. I will edit accordingly.
    – connectyourcharger
    4 hours ago










  • @connectyourcharger Could you double-check the sixth group? It's not that I'm confident it's wrong or anything, but it surprises me a bit.
    – Gareth McCaughan♦
    16 mins ago












up vote
5
down vote

favorite
2









up vote
5
down vote

favorite
2






2





Introducing the mysterious foo encoding... based on the common computer programming template variables foo, bar, and baz. This encoding is truly unknown, as a simple sentence of characters returns an unreadable mess of foos and bars and bazes.



Let's say I input the following into my personal encoder: Noodle pie is delicious.



The program spits out the following, which is "foo-encoded":



baz-foo-baz-br- bar-baz-fo-bar- bar-baz-foo-foo- bar-foo-bar-baz- bar-foo-fo-baz- bar-fo-foo-baz- bar-foo-fo-baz- bar-foo-baz-fo- bar-fo-baz-foo- bar-fo-baz-fo- baz-fo-fo-bz- bar-baz-fo-bar- bar-foo-fo-baz- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-fo-baz- bar-baz-fo-fo- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-baz-fo- bar-fo-baz-fo- bar-foo-bar-baz- bar-foo-bar-baz- baz-fo-bar-br-


So how does this mysterious encoding work? That's for you to figure out!



EXTRA NOTE: The encoded messages may contain the following phrases: foo, bar, baz, fo, br, and bz. No, they are not mistakes, they are meant to be there.



HINT:




Sirius. Two. There's your hint.




EXTRA CHALLENGE: Create an encoder/decoder for the foo encoding.










share|improve this question









New contributor




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











Introducing the mysterious foo encoding... based on the common computer programming template variables foo, bar, and baz. This encoding is truly unknown, as a simple sentence of characters returns an unreadable mess of foos and bars and bazes.



Let's say I input the following into my personal encoder: Noodle pie is delicious.



The program spits out the following, which is "foo-encoded":



baz-foo-baz-br- bar-baz-fo-bar- bar-baz-foo-foo- bar-foo-bar-baz- bar-foo-fo-baz- bar-fo-foo-baz- bar-foo-fo-baz- bar-foo-baz-fo- bar-fo-baz-foo- bar-fo-baz-fo- baz-fo-fo-bz- bar-baz-fo-bar- bar-foo-fo-baz- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-fo-baz- bar-baz-fo-fo- baz-fo-fo-bz- bar-fo-baz-foo- bar-foo-baz-fo- bar-fo-baz-fo- bar-foo-bar-baz- bar-foo-bar-baz- baz-fo-bar-br-


So how does this mysterious encoding work? That's for you to figure out!



EXTRA NOTE: The encoded messages may contain the following phrases: foo, bar, baz, fo, br, and bz. No, they are not mistakes, they are meant to be there.



HINT:




Sirius. Two. There's your hint.




EXTRA CHALLENGE: Create an encoder/decoder for the foo encoding.







cipher computer-puzzle






share|improve this question









New contributor




connectyourcharger 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




connectyourcharger 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








edited 4 hours ago





















New contributor




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









asked 5 hours ago









connectyourcharger

264




264




New contributor




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





New contributor





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






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







  • 1




    Welcome to Puzzling.SE! This looks like a fun puzzle. I see you already have a couple of badges, good for you. You can get another easy one by taking the tour. Is your fourth term br supposed to be a bar? same with 7th term fo should be a foo?
    – Chowzen
    4 hours ago






  • 1




    @Chowzen The program utilizes the keywords foo, bar, baz, fo, br, and bz. I will edit accordingly.
    – connectyourcharger
    4 hours ago










  • @connectyourcharger Could you double-check the sixth group? It's not that I'm confident it's wrong or anything, but it surprises me a bit.
    – Gareth McCaughan♦
    16 mins ago












  • 1




    Welcome to Puzzling.SE! This looks like a fun puzzle. I see you already have a couple of badges, good for you. You can get another easy one by taking the tour. Is your fourth term br supposed to be a bar? same with 7th term fo should be a foo?
    – Chowzen
    4 hours ago






  • 1




    @Chowzen The program utilizes the keywords foo, bar, baz, fo, br, and bz. I will edit accordingly.
    – connectyourcharger
    4 hours ago










  • @connectyourcharger Could you double-check the sixth group? It's not that I'm confident it's wrong or anything, but it surprises me a bit.
    – Gareth McCaughan♦
    16 mins ago







1




1




Welcome to Puzzling.SE! This looks like a fun puzzle. I see you already have a couple of badges, good for you. You can get another easy one by taking the tour. Is your fourth term br supposed to be a bar? same with 7th term fo should be a foo?
– Chowzen
4 hours ago




Welcome to Puzzling.SE! This looks like a fun puzzle. I see you already have a couple of badges, good for you. You can get another easy one by taking the tour. Is your fourth term br supposed to be a bar? same with 7th term fo should be a foo?
– Chowzen
4 hours ago




1




1




@Chowzen The program utilizes the keywords foo, bar, baz, fo, br, and bz. I will edit accordingly.
– connectyourcharger
4 hours ago




@Chowzen The program utilizes the keywords foo, bar, baz, fo, br, and bz. I will edit accordingly.
– connectyourcharger
4 hours ago












@connectyourcharger Could you double-check the sixth group? It's not that I'm confident it's wrong or anything, but it surprises me a bit.
– Gareth McCaughan♦
16 mins ago




@connectyourcharger Could you double-check the sixth group? It's not that I'm confident it's wrong or anything, but it surprises me a bit.
– Gareth McCaughan♦
16 mins ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote













Partial answer:




The string is reversed, and then each character (including punctuation) is translated to a 4-tuple of foo, bar, baz, fo, br, bz.




We know this because




The number of characters is the same as the number of 4-tuples. Frequency analysis shows that i is bar-foo-fo-baz. A little educated guessing on the other recurring characters shows the reversal pretty clearly, which confirms the 1:1 substitution.




Now that we know that,




We know the encoding for each letter:
. -> baz-foo-baz-br-
[space] -> baz-fo-fo-bz-
N -> baz-fo-bar-br-
c -> bar-fo-foo-baz-
d -> bar-fo-baz-fo-
e -> bar-fo-baz-foo-
i -> bar-foo-fo-baz-
l -> bar-foo-baz-fo-
o -> bar-foo-bar-baz-
p -> bar-baz-fo-fo-
s -> bar-baz-fo-bar-
u -> bar-baz-foo-foo-




However,




This is not the obvious choice of a base-6 encoding of ASCII values. In fact, I doubt it's base 6 at all: We have the values for both o and u, which you would expect to be congruent mod 6 and therefore end in the same digit. However, o ends in baz- and u ends in foo-! If it is base 6, some additional transformation is being applied.




It is interesting that




None of that relates the clue, as far as I can tell. And the symbol bz is used only once (in the example string), for the space character.







share|improve this answer
















  • 1




    That's exactly as far as I got and now just looking for some other kind of encoding that would translate. Nothing so far.
    – MetaZen
    2 hours ago










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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






connectyourcharger 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%2f74368%2fthe-foo-encoding%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote













Partial answer:




The string is reversed, and then each character (including punctuation) is translated to a 4-tuple of foo, bar, baz, fo, br, bz.




We know this because




The number of characters is the same as the number of 4-tuples. Frequency analysis shows that i is bar-foo-fo-baz. A little educated guessing on the other recurring characters shows the reversal pretty clearly, which confirms the 1:1 substitution.




Now that we know that,




We know the encoding for each letter:
. -> baz-foo-baz-br-
[space] -> baz-fo-fo-bz-
N -> baz-fo-bar-br-
c -> bar-fo-foo-baz-
d -> bar-fo-baz-fo-
e -> bar-fo-baz-foo-
i -> bar-foo-fo-baz-
l -> bar-foo-baz-fo-
o -> bar-foo-bar-baz-
p -> bar-baz-fo-fo-
s -> bar-baz-fo-bar-
u -> bar-baz-foo-foo-




However,




This is not the obvious choice of a base-6 encoding of ASCII values. In fact, I doubt it's base 6 at all: We have the values for both o and u, which you would expect to be congruent mod 6 and therefore end in the same digit. However, o ends in baz- and u ends in foo-! If it is base 6, some additional transformation is being applied.




It is interesting that




None of that relates the clue, as far as I can tell. And the symbol bz is used only once (in the example string), for the space character.







share|improve this answer
















  • 1




    That's exactly as far as I got and now just looking for some other kind of encoding that would translate. Nothing so far.
    – MetaZen
    2 hours ago














up vote
3
down vote













Partial answer:




The string is reversed, and then each character (including punctuation) is translated to a 4-tuple of foo, bar, baz, fo, br, bz.




We know this because




The number of characters is the same as the number of 4-tuples. Frequency analysis shows that i is bar-foo-fo-baz. A little educated guessing on the other recurring characters shows the reversal pretty clearly, which confirms the 1:1 substitution.




Now that we know that,




We know the encoding for each letter:
. -> baz-foo-baz-br-
[space] -> baz-fo-fo-bz-
N -> baz-fo-bar-br-
c -> bar-fo-foo-baz-
d -> bar-fo-baz-fo-
e -> bar-fo-baz-foo-
i -> bar-foo-fo-baz-
l -> bar-foo-baz-fo-
o -> bar-foo-bar-baz-
p -> bar-baz-fo-fo-
s -> bar-baz-fo-bar-
u -> bar-baz-foo-foo-




However,




This is not the obvious choice of a base-6 encoding of ASCII values. In fact, I doubt it's base 6 at all: We have the values for both o and u, which you would expect to be congruent mod 6 and therefore end in the same digit. However, o ends in baz- and u ends in foo-! If it is base 6, some additional transformation is being applied.




It is interesting that




None of that relates the clue, as far as I can tell. And the symbol bz is used only once (in the example string), for the space character.







share|improve this answer
















  • 1




    That's exactly as far as I got and now just looking for some other kind of encoding that would translate. Nothing so far.
    – MetaZen
    2 hours ago












up vote
3
down vote










up vote
3
down vote









Partial answer:




The string is reversed, and then each character (including punctuation) is translated to a 4-tuple of foo, bar, baz, fo, br, bz.




We know this because




The number of characters is the same as the number of 4-tuples. Frequency analysis shows that i is bar-foo-fo-baz. A little educated guessing on the other recurring characters shows the reversal pretty clearly, which confirms the 1:1 substitution.




Now that we know that,




We know the encoding for each letter:
. -> baz-foo-baz-br-
[space] -> baz-fo-fo-bz-
N -> baz-fo-bar-br-
c -> bar-fo-foo-baz-
d -> bar-fo-baz-fo-
e -> bar-fo-baz-foo-
i -> bar-foo-fo-baz-
l -> bar-foo-baz-fo-
o -> bar-foo-bar-baz-
p -> bar-baz-fo-fo-
s -> bar-baz-fo-bar-
u -> bar-baz-foo-foo-




However,




This is not the obvious choice of a base-6 encoding of ASCII values. In fact, I doubt it's base 6 at all: We have the values for both o and u, which you would expect to be congruent mod 6 and therefore end in the same digit. However, o ends in baz- and u ends in foo-! If it is base 6, some additional transformation is being applied.




It is interesting that




None of that relates the clue, as far as I can tell. And the symbol bz is used only once (in the example string), for the space character.







share|improve this answer












Partial answer:




The string is reversed, and then each character (including punctuation) is translated to a 4-tuple of foo, bar, baz, fo, br, bz.




We know this because




The number of characters is the same as the number of 4-tuples. Frequency analysis shows that i is bar-foo-fo-baz. A little educated guessing on the other recurring characters shows the reversal pretty clearly, which confirms the 1:1 substitution.




Now that we know that,




We know the encoding for each letter:
. -> baz-foo-baz-br-
[space] -> baz-fo-fo-bz-
N -> baz-fo-bar-br-
c -> bar-fo-foo-baz-
d -> bar-fo-baz-fo-
e -> bar-fo-baz-foo-
i -> bar-foo-fo-baz-
l -> bar-foo-baz-fo-
o -> bar-foo-bar-baz-
p -> bar-baz-fo-fo-
s -> bar-baz-fo-bar-
u -> bar-baz-foo-foo-




However,




This is not the obvious choice of a base-6 encoding of ASCII values. In fact, I doubt it's base 6 at all: We have the values for both o and u, which you would expect to be congruent mod 6 and therefore end in the same digit. However, o ends in baz- and u ends in foo-! If it is base 6, some additional transformation is being applied.




It is interesting that




None of that relates the clue, as far as I can tell. And the symbol bz is used only once (in the example string), for the space character.








share|improve this answer












share|improve this answer



share|improve this answer










answered 2 hours ago









benj2240

1714




1714







  • 1




    That's exactly as far as I got and now just looking for some other kind of encoding that would translate. Nothing so far.
    – MetaZen
    2 hours ago












  • 1




    That's exactly as far as I got and now just looking for some other kind of encoding that would translate. Nothing so far.
    – MetaZen
    2 hours ago







1




1




That's exactly as far as I got and now just looking for some other kind of encoding that would translate. Nothing so far.
– MetaZen
2 hours ago




That's exactly as far as I got and now just looking for some other kind of encoding that would translate. Nothing so far.
– MetaZen
2 hours ago










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









 

draft saved


draft discarded


















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












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











connectyourcharger 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%2f74368%2fthe-foo-encoding%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

Installing NextGIS Connect into QGIS 3?

One-line joke