2 Replies - 1277 Views - Last Post: 28 March 2010 - 04:46 AM

#1 Lecotti   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 26-March 10

Modular arithmetic

Posted 26 March 2010 - 10:46 AM

Hello everybody, hopefully somebody can help me with this :). Recently i have been reading an article from 'The New Turing Omnibus'(public key cryptography) and i cannot get my head around this bit, its on p.g 254 for any of you who have the book.

B'x = 3522 x (901)^-1 mod 1234
= 3522 x 1171 mod 1234 how did he get 1171 from the previous expression???
= 234

Therefore B'x = 234

So far, I havn't found the rest of the book that bad but i just can't seem to figure this bit out! Any help would be greatly appreciated!

This post has been edited by Lecotti: 26 March 2010 - 10:47 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Modular arithmetic

#2 Galois   User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 207
  • Joined: 27-March 10

Re: Modular arithmetic

Posted 27 March 2010 - 04:18 PM

I'd assume that the author explains modular division. If that's not the case then look online for more information. Basically, a division by a number "a" mod "x" can be replaced by a multiplication by a number "b" if "ab" is equivalent to 1 mod "x". And so in this case the division by 901 was replaced by a multiplication by 1171 precisely because the number "901 * 1171" is equivalent to 1 mod 1234.
Was This Post Helpful? 1
  • +
  • -

#3 Lecotti   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 26-March 10

Re: Modular arithmetic

Posted 28 March 2010 - 04:46 AM

Thanks alot, you explained this much better than the author did!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1