Skip to main content
QUICK REVIEW

[Paper Review] Analyzing the Kasiski Method Against Vigenere Cipher

April Lia Hananto, Arip Solehudin|arXiv (Cornell University)|Dec 10, 2019
Computer Science and EngineeringComputer Science4 references9 citations
TL;DR

This paper analyzes the effectiveness of the Kasiski method against the Vigenère cipher and its modified variant, using nonparametric statistical testing to evaluate key length recovery. Results show that while the standard Vigenère cipher is vulnerable due to repeated patterns, the modified version with rearranged keys significantly improves resistance to Kasiski cryptanalysis by reducing detectable repetitions.

ABSTRACT

The weakness of the vigenere cipher lies in its short key and is repeated, so there is a key loop in encrypting messages, this is used by cryptanalysts using the Kasiski method to know the key length so it can solve this algorithm. The Kasiski method uses repetitive cryptograms found in the ciphertext to determine the key length. Modification of the vigenere cipher solves strengthen the cipher by using arranged keys to make it difficult to crack the keys against the Kasiski method attacks. This study analyzes the strength of the vigenere cipher ciphertext and the modification of the vigenere cipher from the encryption results composed of plaintexts that use different keys. Against the Kasiski method attack. The method used in this study is a quantitative method with a descriptive approach through nonparametric statistical tests on the sign test. The results showed a difference in the ciphertext's strength from the encryption process even though using the same key. The kaiseki method if can know not all key lengths the ciphertext in the compilation does not occur repetitive cryptograms. Modification of the vigenere cipher has a positive effect on the strength of the cipher and can influence the strength of the ciphertext that is built against the Kasiski method attacks.

Motivation & Objective

  • To assess the vulnerability of the classical Vigenère cipher to the Kasiski method for key length recovery.
  • To investigate whether key rearrangement in a modified Vigenère cipher improves resistance against Kasisci-style attacks.
  • To quantify the impact of key structure on ciphertext strength under Kasisci analysis using statistical methods.
  • To determine whether repetitive cryptograms in ciphertext reliably indicate key length in both standard and modified Vigenère encryption.

Proposed method

  • The study employs a quantitative, descriptive approach using nonparametric sign tests to compare ciphertext strength across different key arrangements.
  • Ciphertexts are generated from various plaintexts using both standard and modified Vigenère encryption with distinct key patterns.
  • The Kasisci method is applied to detect repeated digraphs and trigrams in ciphertexts to estimate key length.
  • Statistical analysis evaluates whether the presence or absence of repeated patterns correlates with successful key length recovery.
  • The modified Vigenère cipher uses rearranged keys to disrupt pattern repetition and reduce predictability.
  • Results are analyzed to determine the influence of key structure on the success rate of the Kasisci method.

Experimental results

Research questions

  • RQ1To what extent does the standard Vigenère cipher exhibit detectable repetition patterns that enable the Kasisci method to recover key length?
  • RQ2Does the use of rearranged keys in a modified Vigenère cipher reduce the frequency of repeated cryptograms in ciphertext?
  • RQ3Can the Kasisci method reliably determine key length when no repeated patterns appear in the ciphertext?
  • RQ4How does the modified Vigenère cipher affect the statistical strength of ciphertext against Kasisci-based cryptanalysis?
  • RQ5Is there a measurable improvement in cipher resistance when using structured key rearrangement compared to standard Vigenère key usage?

Key findings

  • The standard Vigenère cipher shows inconsistent key length recovery using the Kasisci method, even with identical keys, due to variable pattern detection.
  • The Kasisci method fails to detect key length when no repetitive cryptograms are present in the ciphertext, indicating a critical limitation.
  • The modified Vigenère cipher with rearranged keys significantly reduces the occurrence of repeated patterns, enhancing resistance to Kasisci analysis.
  • Statistical testing confirms that key rearrangement has a positive and measurable effect on ciphertext strength against Kasisci attacks.
  • Despite using the same key, ciphertexts from the same encryption process show varying degrees of vulnerability, indicating non-uniform resistance.
  • The study demonstrates that structural changes in key usage can effectively disrupt the pattern-based assumptions of the Kasisci method.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.