Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Cipher map solution in Clear category for Cipher Map by CyrylWilczek
def pass_rotate(grille):
array = []
i = 0
for x in grille:
array.append(grille[3][i]+grille[2][i]+grille[1][i]+grille[0][i])
i += 1
return array
def pass_read(grille, password):
row = 0
temp_pass = ''
while row < 4:
i = 0
for x in grille[row]:
if x == "X":
temp_pass += password[row][i]
i += 1
row += 1
return temp_pass
def recall_password(cipher_grille, ciphered_password):
password = ''
cipher = cipher_grille
for i in range(4):
password += pass_read(cipher, ciphered_password)
cipher = pass_rotate(cipher)
return password
Jan. 14, 2018