I have a quick question. How would you decrypt an encryption scheme, involving both Hill and Vernam Cipher. The order of encryption is Hill Cipher then Vernam Cipher. Problem is that only final cipher text and the original plain text is intercepted. Without the cipher text derived from the Hill Cipher, I can't think of any idea of decrypt it or did I miss something crucial here.

  • 1
    $\begingroup$ It's unclear what the Vernam cipher is when applied to ciphertext of the Hill cipher. The Vernam cipher usually is bitwise XOR with a constant, or a rolling set of constants. But usually and unless otherwise specified, the Hill cipher's character set has size 26, with no natural conversion to binary, and at least 32 characters in the output for character-per-character encryption. Are the ciphers more precisely defined? Or at least, what seems to be the ciphertext character set ? Is it feasible to try all keys for either cipher, and check if there's a matchign key for the other? $\endgroup$
    – fgrieu
    Commented Aug 17, 2023 at 14:37
  • 1
    $\begingroup$ "did I miss something crucial here" - Meet-in-the-Middle? $\endgroup$
    – DannyNiu
    Commented Aug 18, 2023 at 5:37


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.