Testwiki:Reference desk/Archives/Mathematics/2018 June 25

From testwiki
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < June 24 ! width="25%" align="center"|<< May | June | Jul >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


June 25

Meaning of A(B1modM)?

I'm confused. Is the above equivalent to A/(BmodM) or what? Earl of Arundel (talk) 18:02, 25 June 2018 (UTC)

Depending on context, it is possibly a typo (either yours, or the original's). Where did you find it? --JBL (talk) 19:17, 25 June 2018 (UTC)
From the Blum–Goldwasser Cryptosystem article:

Alice receives (c0,,cL1),y. She can recover m using the following procedure:

  1. Using the prime factorization (p,q), Alice computes rp=y((p+1)/4)Lmodp and rq=y((q+1)/4)Lmodq.
  2. Compute the initial seed x0=(q(q1modp)rp+p(p1modq)rq)modN
  3. From x0, recompute the bit-vector b using the BBS generator, as in the encryption algorithm.
  4. Compute the plaintext by XORing the keystream with the ciphertext: m=cb.

Alice recovers the plaintext m=(m0,,mL1).

Earl of Arundel (talk) 19:28, 25 June 2018 (UTC)

Thanks. In this context, for a prime number M, "B1modM" means "the (unique) integer x in the interval [1, M - 1] such that Bx is 1 more than a multiple of M." The whole expression you asked about is the product of this number with the number A. See Modular multiplicative inverse, although the context of that article is slightly more mathy and less CSy (so in particular there is a subtle difference in the formal meaning of the symbol "mod" at that article and in your quote). --JBL (talk) 20:24, 25 June 2018 (UTC)
Oh okay, well that makes sense. Thanks so much for the clarification. Cheers! Earl of Arundel (talk) 20:46, 25 June 2018 (UTC)