Update: I have decided this will be a better challenge if I show you the PHP code I used:

enter image description here


1 Answer 1


After writing my own function to decipher this, i get:

pfailkr atr kppw atrz jvv tjvark. atrwr mji j ojxr pw wpoq-otjnurw urtlyk, ufa ly atr cvppn lyilkr ypatlyc opfvk ur irry. iawlkrw, ijn, jyk nrwwz hfitlyc mlat jvv atrlw iawrycat njyjcrk ap phry atr kppw j vlaavr mlkrw, jyk atry iawlkrw jyk nrwwz mrya ly. atrz klk ypa cp djw, dpw py atr dvppw vjz njyz pvk upyri, jyk ypatlyc rvir mji ap ur irry yrjw atr ryawjyor rborha ipnr cwrja rnhaz ejwi jyk uwpqry hpai.

which, after taking OP's hint at it being a sort of scrambled cipher - and switching some letters around, we get:

outside the door they all halted. there was a case or rock-chamber behind, but in the gloom inside nothing could be seen. strider, sam, and merry pushing with all their strength managed to open the door a little wider, and then strider and merry went in. they did not go far, for on the floor lay many old bones, and nothing else was to be seen near the entrance except some great empty jars and broken pots.

Which is an excerpt from:

Lord of the Rings: The Fellowship of the Ring

  • $\begingroup$ Good work but I should probably clarify, the "alphabet" passed to this function is scrambled... so what you have there is Keyed Caesar :) Very breakable. Good job on your function. Edit: Actually sorry it isn't technically Keyed Caesar but I mean it is breakable in the same way. $\endgroup$ Sep 11, 2019 at 22:19
  • 1
    $\begingroup$ You did the hard work so feel free to copy paste. quipqiup solution rot13(bhgfvqr gur qbbe gurl nyy unygrq. gurer jnf n pnir be ebpx-punzore oruvaq, ohg va gur tybbz vafvqr abguvat pbhyq or frra. fgevqre, fnz, naq zreel chfuvat jvgu nyy gurve fgeratgu znantrq gb bcra gur qbbe n yvggyr jvqre, naq gura fgevqre naq zreel jrag va. gurl qvq abg tb sne, sbe ba gur sybbe ynl znal byq obarf, naq abguvat ryfr jnf gb or frra arne gur ragenapr rkprcg fbzr terng rzcgl wnef naq oebxra cbgf.) Appears to be from LOTR $\endgroup$
    – Barker
    Sep 11, 2019 at 23:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.