Skip to content

Latest commit

 

History

History
96 lines (53 loc) · 2.07 KB

README.md

File metadata and controls

96 lines (53 loc) · 2.07 KB

Kryptos

This is my PHP OOP code that I used to solve Kryptos K4.

Okay, so I didn't really solve it but I thought it was pretty cool!

Here is the solution I found:

Remove the V located at character twenty five

Change characters thirty three to thirty five to SOS

Perform columnar rotation transposition using a column width of nine and thirty two

This will produce the text

POOVSBTTKTWRMTUZQOFSXPJOKQGWSHGSUDELKKBZZSXZOTWLJAICTFDJBIKBGLWKUFUDLHIRUAQAWQUIPENRKFNCBGANKRYS

The one time pad is the first string of text of the sculpture after being solved

KRYPTOS is padded at the beginning

Every six to ten letters are transposed to create scrambled words

This is done on a per word basis for every word six to eight letters in length

Words shorter than six letters are combined with the word after it such as ANDTHE or NUANCEOF to make up six to eight letters

Words that are longer than eight letters are split after the eighth letter

The remainder is prepended to the next word

The letters in each section of six to eight letters are transposed and produce the one time pad string

SPTORYK EWNTBEE EUSTBL GHSNIDA NHAETD SBENEAC THGOFIL EESTLIH OANNUECF IIQUSLON SWATI YLOTTLA IVINIBS THOEWLS

This is then applied to the aforementioned rotated cyphertext

*POO VSBT *SPT ORYK *WYR LOST

*T KTWR MTU ZQOFSX *E WNTB EEE USTBLG *N PENN AND THRTIE

*PJ OKQ GW SHG SUD EL *HS NID AN HAE TDS BE *ID FED ST MAY YET PS

*KKB ZZSXZO TW LJAI CTF *NEA CTHGOF IL EEST LIH *AIR JUMEQN IS SORE MIX

*DJ B IKB GL WKUFUD *OA N NUE CF IIQUSL *OC I VOW TO BERLIN

*LHI RU AQ AW *ONS WA TI YL *FUC TH PO OS

*Q UIPE NR KFNCB GA NK RYS *O TTLA IV INIBS TH OE WLS *I LEFT TO ENTRY CN HI TEK

WYR LOST N PENN AND THRTIE ID FED ST MAY YET PS AIR JUMEQN IS SORE MIX OC I VOW TO BERLIN FUC TH PO OS I LEFT TO ENTRY CN HI TEK

WE ARE LOST

N PENN AND THIRTY

I DONT KNOW

FED STILL MAY YET PostScript fed still may show up again

OUR JAMACIAN IS SORE

MIX OC maybe someone was shot

I VOW TO BERLIN FUCk THe POlice ALWAYS

I LEFT TO ENTRY SEEING HIgh TEK
because the police showed up with guns drawn