Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the big integer class from c++ please! Not long long! Implement Fermat test: (yes, you have to implement the test yourself regardless the language

image text in transcribedUse the big integer class from c++ please! Not long long!
Implement Fermat test: (yes, you have to implement the test yourself regardless the language you use) Use Fermat's test to generate two large prime numbers (p, q), each should have a size > = 512 bits: Save p and q in a file named p_q. txt (one integer per line): Use extended Euclidean algorithm to generate two pairs of keys: (e, n), (d, n), where n MUST be at least 1024 bit long. Save the two pairs of keys in two separate files: e_n.txt and d_n.txt (one integer per line)

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

More Books

Students also viewed these Databases questions

Question

What are the purposes of collection messages? (Objective 5)

Answered: 1 week ago

Question

Explain consumer behaviour.

Answered: 1 week ago

Question

Explain the factors influencing consumer behaviour.

Answered: 1 week ago

Question

1. Who will you assemble on the team?

Answered: 1 week ago