0

If I have only the ciphertext but the alphabet and the value of a and b are all unknown ... how would I go about this? I understand decryption with the key and alphabet, that is fairly easy but if we don't have even one of them what would be my first step?

also, my goal is to have the computer return the plaintext and the alphabet &key. Without me choosing what looks like english or not.

liz
  • 1
  • 1
  • Try all possible keys and look for meaningful messages? – kelalaka Nov 16 '19 at 23:06
  • How would you get the alphabet from that, though? – liz Nov 16 '19 at 23:15
  • How the ciphertext is given? the values are giving bounds on $a$ and $b$. Than you can consider alphabet. – kelalaka Nov 16 '19 at 23:22
  • @kelalaka How would you look for a and b without having the base alphabet from which the letters were orginally mapped to? – liz Nov 16 '19 at 23:25
  • Ciphertext is being passed into the function – liz Nov 16 '19 at 23:26
  • How the ciphertext is given? What do you mean passed into the function? It should be written somewhere. – kelalaka Nov 16 '19 at 23:27
  • @kelalaka yes, it's python so the function would look like "def crypto(ciphertext): " That's it. I'm just confused how we are supposed to get the keys without any other information – liz Nov 17 '19 at 03:56

0 Answers0