Applied Cryptography: RSA - Finding Large Primes - Part 3

  Рет қаралды 2,485

Leandro Junes

Leandro Junes

Күн бұрын

Пікірлер: 6
@aymenahdibi1251
@aymenahdibi1251 4 жыл бұрын
i really appreciate your tutorials , awesome explanation, BIG UP for your effort ,your channel need to be more famous
@leandrojunes7091
@leandrojunes7091 4 жыл бұрын
I appreciate that!
@peterribers
@peterribers 2 жыл бұрын
If the purpose of finding a prime is using it for RSA, why not go backwards generate an uneven r by random and multiply by 2 (choosing u = 1) get p-1. This way you dont need to find u and r FROM p. Furthermore the test algorithm would be a little simpler (no loop from 1to u is needed) AND the running time would also be little shorter. The consequence would be of course that half the possible primes is discarded, but that does not really matter. Adding a single ekstra bit to the codelength would compensate for it anyway. It is not amatter of great importance, but it is always nice if you can make things simpler. I could just do so in my own implementation, but I would like a comment on this idea.
@steveking7719
@steveking7719 3 жыл бұрын
Why don't you design a PRG that generates random numbers that only end in 1,3,7, and 9. THAT.... would increase your probability of generating a prime.
@peterribers
@peterribers 2 жыл бұрын
I agree. However in at later video it is sugggested to run at pretest on all small primes up to 100 by simple division before running miller-raben. This adresses the issue to som extent. Instead of genrating random numbers in a compleetly naiveway and then testing, you should consider how your random generator and your testing up to 100 could be merged/optimized into a joint algorithm.
@syedmdabid7191
@syedmdabid7191 Жыл бұрын
It's no good of watching. It ain't confirmatory test to be prime for a big number.
Applied Cryptography: RSA - Finding Large Primes - Part 4
15:25
Leandro Junes
Рет қаралды 1,3 М.
How prime numbers protect your privacy #SoME2
13:25
NamePointer
Рет қаралды 13 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
The Doomsday Algorithm - Numberphile
14:33
Numberphile
Рет қаралды 859 М.
Why You Fear Your Own Potential
9:50
Sisyphus 55
Рет қаралды 79 М.
Lenstras Algorithm
7:14
Jeff Suzuki: The Random Professor
Рет қаралды 7 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 154 М.
The RSA Encryption Algorithm (2 of 2: Generating the Keys)
11:55
TREE(3) (extra footage) - Numberphile
11:02
Numberphile2
Рет қаралды 745 М.
L26 : Miller-Rabin Primality Test | Number Theory | CodeNCode
25:01
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН