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

  • Home
  • SEARCH
  • 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 664721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:37:50+00:00 2026-05-13T23:37:50+00:00

I was browsing and found good articles about encryption. However, none of them described

  • 0

I was browsing and found good articles about encryption. However, none of them described why the key length is important, and what exactly the key is used for. My guess is that could work this way:

Plaintext:   0101001101010101010
Key:         01010010101010010101   //the longer the key, the longer unique sequence
XOR or smth: //result

Is this at least a bit how it works or am I missing something?

  • 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-05-13T23:37:50+00:00Added an answer on May 13, 2026 at 11:37 pm

    Cipher systems are generally a lot more sophisticated than the XOR system you have described. In fact, XORing only really works if you have a key that has at least as many bits as the plain text message, and you only ever use the key to encrypt one message. This is called “one time pad” encryption.

    In most crypto systems, the key is not directly combined with the plain text. Rather it controls the transformation performed by the crypto algorithm. Ideally, the transformation performed by the algorithm is too complicated to reverse without knowing or guessing the key. Thus, in the ideal situation, the number of bits in the key determines the average number of guesses needed to crack by “brute force”.

    In practice however, a cryptologist can glean clues from the cipher text (i.e. the encrypted message) that can reduce the search space, so that a larger number of bits need to be used. This is particularly true for the public key encryption systems that we normally use. These systems are based on mathematical calculations that are hard to reverse (e.g. multiplication of pairs of large prime numbers) and the number of bits determines the “problem” size of performing the reverse calculation (e.g. factorization of the product of two large primes).

    You are interested in how the key is “applied” to the plain text. The answer to that is that it varies from one crypto system to another, and that the process is typically rather complicated. The question is not amenable to a general answer.

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

Sidebar

Related Questions

Browsing the Internet, I found the new Ample SDK JavaScript framework. From their about
After browsing, I have found that mouse_event(MOUSEEVENTF_WHEEL, 0, 0, 120, 0); is used to
While browsing some code I found a call to OpenPrinter() . The code compiles
Recently I found a pretty graph when I was browsing the adminskins at ThemeForest
When browsing ASP.NET MVC source code in codeplex , I found it is common
I was browsing for an alternative to using so many shared_ptrs, and found an
I was browsing the web and found this site . I noticed how the
While browsing System.Zip (Delphi XE2) to see how it works, I found this function:
I'm browsing the source code of StyleCop , and I found a curious thing:
I was trying to expand upon a tutorial I found here about creating a

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.