From fd77917cdb88ba5746b31de4d62850cd038cf63b Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Thu, 24 Oct 2013 18:37:46 +0100 Subject: [PATCH] 2013 Challenge 2 done. --- 2013/2a.ciphertext | 9 +++++++++ 2013/2a.plaintext | 9 +++++++++ 2013/2b.ciphertext | 1 + 2013/2b.plaintext | 1 + cipher.py | 6 +++--- 5 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 2013/2a.ciphertext create mode 100644 2013/2a.plaintext create mode 100644 2013/2b.ciphertext create mode 100644 2013/2b.plaintext diff --git a/2013/2a.ciphertext b/2013/2a.ciphertext new file mode 100644 index 0000000..5de755e --- /dev/null +++ b/2013/2a.ciphertext @@ -0,0 +1,9 @@ +AFEEZ, + +D LFHARO DS F UFQVNE TDKA F UEDRSO DS KAR HNERKR FSO AR XVK PR FLLRHH KV KAR YDLKNER. VNE XNZH LFS AFQR UDUKRRS PDSNKRH TDKA ARE FUKRE LMVHDSX KDPR VS UEDOFZ. KARZ TVS’K FMMVT FSZKADSX KVV DSQFHDQR INK TR HAVNMO XRK HVPR YDLKNERH VU KAR LFSQFH FSO UEFPR, FSO KARZ FER VUUREDSX KV IEDRU NH VS KAR YFDSKDSX’H PVQRPRSKH ONEDSX KAR TFE. + +ERLVEOH UEVP INLARSTFMO TRER HJRKLAZ INK TR KEFLRO KAR UFPDMZ KAFK VTSRO KAR FYFEKPRSK DS PVSKPFEKER. FH ZVN XNRHHRO, KARZ PVQRO KARER TARS INLARSTFMO VYRSRO. KAR UFKARE, OFSDRM, TFH GRTDHA, KAVNXA KARZ HRRP KV AFQR PFSFXRO KV LVSLRFM KAFK UFLK. HVPR VU KARP PVQRO KV HTDKCREMFSO, KAR VKAREH KV UEFSLR, KAVNXA KAR KRFP ODO ARFE ERYVEKH KAFK OFSDRM’H IEVKARE DS MFT TFH PVER VE MRHH UVELRO KV KFJR NY TVEJ FH F XNFEO DS KAR LFPY HV TR AFQR FSVKARE MDSJ IRKTRRS KAR UFPDMZ FSO VNE PZHKREDVNH FEKDHK. + +AVT HAR XVK KV UEFSLR DH F PZHKREZ, KEFQRM UVE F ZVNSX GRTDHA XDEM TVNMO AFQR IRRS AFCFEOVNH NSMRHH HAR TFH LFEEZDSX VUUDLDFM YFYREH. TR TDMM KEZ KV KEFLJ OVTS KAR INLARSTFMO XNFEO KAVNXA D OVS’K AVMO NY PNLA AVYR. SV VSR TAV ODO KAFK GVI YNK DK VS KARDE LQ FUKRETFEOH. + +YADM diff --git a/2013/2a.plaintext b/2013/2a.plaintext new file mode 100644 index 0000000..4cb23e7 --- /dev/null +++ b/2013/2a.plaintext @@ -0,0 +1,9 @@ +HARRY, + +I CASHED IN A FAVOUR WITH A FRIEND IN THE SURETE AND HE GOT ME ACCESS TO THE PICTURE. OUR GUYS CAN HAVE FIFTEEN MINUTES WITH HER AFTER CLOSING TIME ON FRIDAY. THEY WON’T ALLOW ANYTHING TOO INVASIVE BUT WE SHOULD GET SOME PICTURES OF THE CANVAS AND FRAME, AND THEY ARE OFFERING TO BRIEF US ON THE PAINTING’S MOVEMENTS DURING THE WAR. + +RECORDS FROM BUCHENWALD WERE SKETCHY BUT WE TRACED THE FAMILY THAT OWNED THE APARTMENT IN MONTMARTRE. AS YOU GUESSED, THEY MOVED THERE WHEN BUCHENWALD OPENED. THE FATHER, DANIEL, WAS JEWISH, THOUGH THEY SEEM TO HAVE MANAGED TO CONCEAL THAT FACT. SOME OF THEM MOVED TO SWITZERLAND, THE OTHERS TO FRANCE, THOUGH THE TEAM DID HEAR REPORTS THAT DANIEL’S BROTHER IN LAW WAS MORE OR LESS FORCED TO TAKE UP WORK AS A GUARD IN THE CAMP SO WE HAVE ANOTHER LINK BETWEEN THE FAMILY AND OUR MYSTERIOUS ARTIST. + +HOW SHE GOT TO FRANCE IS A MYSTERY, TRAVEL FOR A YOUNG JEWISH GIRL WOULD HAVE BEEN HAZARDOUS UNLESS SHE WAS CARRYING OFFICIAL PAPERS. WE WILL TRY TO TRACK DOWN THE BUCHENWALD GUARD THOUGH I DON’T HOLD UP MUCH HOPE. NO ONE WHO DID THAT JOB PUT IT ON THEIR CV AFTERWARDS. + +PHIL diff --git a/2013/2b.ciphertext b/2013/2b.ciphertext new file mode 100644 index 0000000..e47d3cb --- /dev/null +++ b/2013/2b.ciphertext @@ -0,0 +1 @@ +NKRSA ZYIUA YOTYG XKOYA VVUYK QOTJO TZNKO XUCTC GEHAZ ZNKXK OYROZ ZRKCG XSZNO TZNKQ OTJTK YYOXK IKOBK GTTGZ XOKYZ USGQK SKIUS LUXZG HRKHA ZYNKO YGLXG OJZNK YYULL OIKXC NUHXO TMYAY ZNKVG OTZOT MYOYI XAKRG TJIUC GXJRE GTJNK HKGZY GTTGO LSECU XQOYT UZMUU JKTUA MNNKO YYIGX KJZNG ZOLNK HKGZY SKNKS OMNZJ GSGMK SENGT JYGTJ ZUUYI GXKJZ UHKGZ NKXNA YHGTJ JGTOK RGHKG XULGS GTCNU ZUCKX YUBKX NOSOZ JUKYT ZSGZZ KXZNK XKGRV UCKXR OKYCO ZNZNK HARRE NKIUA RJNGB KAYGR RYNUZ GTJCK GRRQT UCOZJ GTOKR YIGXK YSKZU UHAZU TREHK IGAYK NKXKS OTJYS KULNK RSAZG TJZNG ZXKSO TJYSK ULZNK IGSVN KTKBK XYVKG QYTKB KXRUU QYSKO TZNKK EKGTJ TKBKX CGTZY GTEZN OTMLX USSKO ZNOTQ NKNGZ KYSKL UXHXO TMOTM ZNKYY ZUNOY NUAYK HAZLU XGTTG YYGQK NKHXO TMYSK CNGZO TKKJC NGZOS UYZTK KJOYG CGEUA ZULNK XKCNK TOGSM UTKGT TGYHK GZOTM YCORR YZUVG TJSGE HKJGT OKRCO RRYZU VNGZO TMSKH AZOGS CGZIN KJGRR JGEGT JZNKN UAYKO YRUIQ KJGZT OMNZZ NGZCO RRTUZ YZUVS KLXUS ZXEOT M diff --git a/2013/2b.plaintext b/2013/2b.plaintext new file mode 100644 index 0000000..007d090 --- /dev/null +++ b/2013/2b.plaintext @@ -0,0 +1 @@ +helmut's cousins are i suppose kind in their own way but there is little warmth in the kindness i receive anna tries to make me comfortable but she is afraid the ss officer who brings us the paintings is cruel and cowardly and he beats anna if my work is not goodenough he is scared that if he beats me he might damage my hands and too scared to beat her husband daniela bear of a man who towers over him it doesnt matter the real power lies with the bully he could have us all shot and we all know it daniel scares me too but only because he reminds me of helmut and that reminds me of the camp he never speaks never looks me in the eye and never wants anything from me i think he hates me for bringing the ss to his house but for annas sake he brings me what i need what i most need is away out of here when i am gone annas beatings will stop and maybe daniel will stop hating me but i am watched all day and the house is locked at night that will not stop me from trying \ No newline at end of file diff --git a/cipher.py b/cipher.py index 6b49d46..0e89a9c 100644 --- a/cipher.py +++ b/cipher.py @@ -66,10 +66,10 @@ def every_nth(text, n): """Returns n strings, each of which consists of every nth character, starting with the 0th, 1st, 2nd, ... (n-1)th character - >>> every_nth(string.ascii_lowercase, 5) - ['afkpuz', 'bglqv', 'chmrw', 'dinsx', 'ejoty'] + >>> every_nth(string.ascii_lowercase, 5) + ['afkpuz', 'bglqv', 'chmrw', 'dinsx', 'ejoty'] >>> every_nth(string.ascii_lowercase, 1) - ['abcdefghijklmnopqrstuvwxyz'] + ['abcdefghijklmnopqrstuvwxyz'] >>> every_nth(string.ascii_lowercase, 26) ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] """ -- 2.34.1