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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:03:21+00:00 2026-05-13T00:03:21+00:00

9 = 2^X mod 11 What is X and how do you find X?

  • 0

9 = 2^X mod 11

What is X and how do you find X?

Its related to finding the plain text in RSA algorithm and I’m writing a C program for it.

  • 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-13T00:03:21+00:00Added an answer on May 13, 2026 at 12:03 am

    The answer is 6 + 10i for any integer i.

    A simple way to get solutions for small moduli is to iterate over all values of x. You only need to check between 0 and 10 (= 11 – 1) to find the first solution, if any solution exists.

    x = 0
    while x < 50:
        if 9 == 2**x % 11:
             print x
        x += 1
    

    Output:

    6
    16
    26
    36
    46
    

    Obviously this will take a long time if the modulus is large.

    More information is on the Discrete Logarithm page. Note:

    No efficient classical algorithm for
    computing general discrete logarithms
    logbg is known. The naive algorithm is
    to raise b to higher and higher powers
    k until the desired g is found; this
    is sometimes called trial
    multiplication. This algorithm
    requires running time linear in the
    size of the group G and thus
    exponential in the number of digits in
    the size of the group.

    If it were easy to invert modular exponetiation, it wouldn’t be a good cryptographic primitive.

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

Sidebar

Related Questions

When I call help(Mod.Cls.f) (Mod is a C extension module), I get the output
As an example in pseudocode: if ((a mod 2) == 0) { isEven =
I mod_rewrite my pages very similar to how SO does it. I have www.example.com/users/login/
If I use mod_rewrite to control all my 301 redirects, does this happen before
I have Apache with mod_rewrite, and whenever I enter a URI with an accented
I have some mod_rewrite rewrites that correctly redirect the URLs to a script. From
I'm using .htaccess and mod_rewrite to point to files that reside behind the DocumentRoot.
I have been sold on mod_wsgi and apache rather than mod_python. I have all
It's big problem to convert mod_rewrite rules to lighttpd format
I have a few problems with my mod_rewrite rules. There a three different url

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.