cipher = "fylm mtrjm kaml awn layn fydyw dwshh" key = "sister" print(vig_decrypt(cipher, key)) Result:
If you miss it, you can also extract the raw bitstream and look for ASCII strings: cipher = "fylm mtrjm kaml awn layn fydyw
def vig_decrypt(cipher, key): out = '' ki = 0 for c in cipher: if c in alpha: shift = alpha.index(key[ki % len(key)]) out += alpha[(alpha.index(c) - shift) % 26] ki += 1 else: out += c return out key)) Result: If you miss it