Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help, I need this completed in c++ --------------------- RSA key generation: 1. Implement Fermat test 2. Use Fermats test to generate two large prime

Please help, I need this completed in c++

---------------------

RSA key generation: 1. Implement Fermat test 2. Use Fermats test to generate two large prime numbers (p,q), each should have a size >= 512 bits; 3. Save p and q in a file named p_q.txt, one integer per line and making sure no white space saved; 4. Use extended Euclidean algorithm to generate two pairs of keys: (e,n), (d,n), where n=p*q; 5. Save the two pairs of keys in two separate files: e_n.txt and d_n.txt, one integer per line and no white space;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

Identify the cause of a performance problem. page 363

Answered: 1 week ago