Should my code generate p,q every time, or should I find some p,q fulfilling the requirements and just use them?

I find the second option more logical but wanted to know what the intention was.

HW4 Q4

*Instructor:*- Prof. Benny Chor
*Teaching Assistant:*- Orit Moskovich

*Moed A*: Jan 30*Moed B*: Feb 27

**וְאַף עַל פִּי שֶׁיִּתְמַהְמֵהַּ עִם כָּל זֶה אֲחַכֶּה לּוֹ בְּכָל יוֹם**

*הבדיקה בעיצומה, תוצאות עוד מספר ימים*

(02 Feb 2017 12:41)

**פתרון למועד א**

(30 Jan 2017 16:03)

1. Yes
2. Note that this is a public key encryption, so the encryption key is known and he can...

(by oritmosk 25 Feb 2017 08:47, posts: 2)

(by oritmosk 25 Feb 2017 08:47, posts: 2)

Given some $s \in Z^*_{pq}$, you can efficiently compute its inverse modulo $pq$ by using...

(by benny_chor 25 Feb 2017 07:47, posts: 2)

(by benny_chor 25 Feb 2017 07:47, posts: 2)

Hi,
In the soultion of question number 2, section b it stated that: "Benny would calculate t...

(by sherlok (guest) 24 Feb 2017 17:47, posts: 2)

(by sherlok (guest) 24 Feb 2017 17:47, posts: 2)

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License