Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8913917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:35:01+00:00 2026-06-15T04:35:01+00:00

Im working on an algorithm to break a modified Vigenere Cipher. The regular Vigenere

  • 0

Im working on an algorithm to break a modified Vigenere Cipher. The regular Vigenere cipher works in the following way:

Plaintext: ATTACKATDAWN
Key: LEMONLEMONLE
Ciphertext: LXFOPVEFRNHR

Regular Version

CR[i] = (P[i] - 33 + K[i]) mod 94 + 33

Modified Version

CM[i] = (P[i] - 33 + K[i] + CM[i-1] - 33) mod 94 + 33

Notice how the modified version uses previous state/character to generate the new one. My theory to break it is to reverse the modified version back to the regular Vigenere cipher. This way I can apply some frequency analysis and other methods. I need to somehow rearrange that equation such that I have “previousC” on the LHS with C. Since both C and previousC are known values it should be easy to do the reversal (starting with the first character).

My only problem is, how do I rewrite the equation in terms of C and previousC? If someone could point that out that would help a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:35:03+00:00Added an answer on June 15, 2026 at 4:35 am

    CR represents the regular Viginere ciphertext, CM the modified Viginere ciphertext

    CR[i] = (P[i] + K[i]) mod 26
    CM[i] = (P[i] + K[i] + CM[i-1]) mod 26
          = (CR[i] + CM[i-1]) mod 26
    

    Now simply solve for the original ciphertext CR

    CR[i] = (CM[i] - CM[i-1]) mod 26
    

    Once you have the regular ciphertext, break it as usual.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working through an algorithm problem set which poses the following question: Determine if
I'm working on an algorithm which needs very fast random access to video frames
I'm working on an algorithm that does prettymuch the same operation a bunch of
I am working on an algorithm, and I need to be able to pass
I'm working out an algorithm to get permutations like 123 132 213 231 312
I'm working on an algorithm that manipulates pictures. Basically I will implement a diffusion
I have started working on some algorithm problems when I saw a problem asking
Homing/Chasing Algorithm. I've been working on this algorithm, for my game. the only chase
I'm trying to sort a list and to check my sorting algorithm is working
I'm working on a matching algorithm for protein sequences. I'm starting with an aligned

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.