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 8003423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:38:43+00:00 2026-06-04T16:38:43+00:00

I am decrypting an old text, and I want a fast algorithm to check

  • 0

I am decrypting an old text, and I want a fast algorithm to check if in a long string there are meaningful words, from a dictionary. That way I can tell if a specific key has worked.

So, OK with dictionary preprocessing and large table, but as fast as possible on some 25-50 characters.

Thanks!

Update

I know the language (Italian) but the text is without spaces and maybe with a couple of random letters. Like:

TANKSSEENNEARUDINEYESTERDAY

And the cipher is a strange columnar transposition, so the single letters frequencies are fixed.

  • 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-04T16:38:44+00:00Added an answer on June 4, 2026 at 4:38 pm

    A standard approach in cryptography would not to check against a dictionary, but to check against a probabilistic model of the (assumed) language of the plaintext. For example, simple statistics for trigraphs, i.e. sequences of three characters next to others, are significantly different e.g. between English and gibberish. (In English, “THE” is the most commonly occurring trigraph. Similarly, trigraphs like “CXC” do not occur in English at all.)

    For example, Vigenere ciphers can be cracked by inferring key length with a simple autocorrelation scheme and then searching for the actual key based on language statistics of the underlying plaintext language. I even implemented the procedure for demonstration purposes when I was lecturing cryptography at our University… 🙂

    The good thing about using these types of probabilistic / Markov models is that they also tolerate well words that happen to be outside the particular dictionary, or have typos, or are of alternative or archaic forms.

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

Sidebar

Related Questions

We are having difficulty decrypting a string in ColdFusion that was previously encrypted with
There are lot of examples of encrypting/decrypting passwords and simple text files with c#,
Hi I want to decrypting my php encrypted string. My code is UsingPHP.java import
I'm encrypting/decrypting files of all sizes and kinds, from small text files to video
I have a problem decrypting an encrypted string that was encrypted in Java using
I'm having trouble decrypting a value from a third party that uses 3Des. They've
I've been tasked with decrypting a text file using frequency analysis. This isn't a
My asp.net web application is reading and decrypting the password from a XML file
Hi this is the same question, that was asked two years ago: Java/JCE: Decrypting
I'm a complete beginner to any sort of decrypting. I wrote a class that

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.