Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
found return return found solution in Clear category for Scytale Encryption by veky
def scytale_decipher(ciphertext: str, crib: str) -> str:
found = None
for diameter in range(2, len(ciphertext)):
attempt = ''
for start in range(diameter):
attempt += ciphertext[start::diameter]
if crib in attempt:
if found: return
found = attempt
return found
Dec. 5, 2021