Skip to main content
The National Cipher Challenge

Reply To: Challenge 10B

A Tale of 2 Secrets Forums T.E.M.P.E.S.T. Challenge 10B Reply To: Challenge 10B

#115250
upsidedown
Participant

@Crackerjack_404 you have inspired me to golf this further. This is a 224-character (excluding ciphertext) Python program which prints the decryption of 10B.


b=lambda x:zip(x[::2],x[1::2]);print("".join("SHADOWBCEFGIKLMNPQRTUVXY"[y//4*6-54+x%6]+"FULHEARTBCDGIKMNOPQSVWXY"[x//6*4+y%4]for x,y in b([13*s+c for c,s in b(["A23456789XJQKCDHS".index(x)%13 for x in "7CXS3 H6S7C KSXDA S2CKS ... and so on" if x.isalnum()])])))
Report a problem