I have an assignment to decode a permutation cipher based on a key. But on the internet I found only ONE website talking about it. Things are not very clear.
I understand that I have to reorder the key characters alphabetically and then permute the columns accordingly, but it doesn't seem to make sense when I decode. Here it is. Maybe I got the wrong definition of it ...
IRUHA AIFAI SHIEI PLDEY EENIT SIOFH OCPED OASLS EREUC RSMHL RESOT SROPI RDFSN DIOVB IRAYA MNBKM OAIRR OANAS REDIC YNSSO ELNYG HDMSE ODHCO MHAND FOCNI IMBIE LCUPI APEOE IIINP APPRA RKPSS EVNBS SIRHH ODOVM AICSA ALTOM NHTON AMOFP RYHVS LNRCN NCIHP ATTTT EENED HDNLI AOTTO UHCTL SPITM CTAAT SENVN ETOTR DHESV INPON TTATN YACRL DTOSL ETHDH AANSL RMERI GMIOP SIECE SEOLS CCTPI IRETE ETEYE DCTAH PEEAI OTFOE TCTLS EIOAR CSCEU GDAFU OHLGI RAYAR NEERO PNSUR VETEI FAIIE YCIOD RNTHH RHTIN TLECN CHBTI ELLAE EEEES SGNIU SNCEF HRETL LTHUS EDBSF OOSAR ASNHO YGHCO UUATU ORIRS YNSTP GRGAD NPSIR RDMSY GBNHP AIAMN ETPRY IIEIL IEUNA ANTRU NTAMS EONEY ER
with the following key:
Here is what I tried:
WATER 12345 AERTW 24531 RHAUI IFHOS EOTSR NKMBM