Algorithm · Upstart · Medium
You are given two complete substitution ciphers, each inferred from a plaintext/ciphertext sample. Your task is to decrypt a message that was encrypted twice and recover Carol's original plaintext intended for Alice. Function signature: clearMsgAb and cipheredMsgAb form a plaintext/ciphertext sample for the cipher from Alice to Bob. clearMsgBc and cipheredMsgBc form a plaintext/ciphertext sample for the cipher from Bob to Carol. Each sample pair fully determines a one-to-one…
Checking your access…