Cryptography: Cryptography is a way to keep messages and other data secret. It is the art of writing or solving ciphers. What's a cipher? It's a "secret or disguised way of writing," says the Concise Oxford Dictionary. In the business world, cryptography refers to mathematically based encryption methods that keep data away from the prying eyes of criminals or enemy governments. Today's businesses and governments use what is called "strong" encryption. This type of encryption is created using applied mathematics. Strong encryption was once used solely for military purposes, but in today's information society, encryption is needed for all kinds of uses. Keys are a fundamental component of cryptography, being used in cryptographic operations such as encryption, hashing and signing to provide desirable properties like confidentiality (keeping information secret), integrity (preventing information being altered) or authenticity (verifying who the information came from). One key (public key) is used for encrypt the plain text to convert it into cipher text and another key (private key) is used by receiver to decrypt the cipher text to read the message Key generation is the process of generating keys in cryptography. The aim of this assignment is to generate a private key based on the given public key as a positive integer “n” from the range 1 to 10 (excluding 1 and 10). Continue the process of dividing “n” by 2 if the value of “n” is even or add 1 to “n” if the value of “n” is odd until the value of “n” becomes less than or equal to 1. During this process add the value of “n” in a variable “sum” if the value of “n” is between 1 and 10 (excluding 1 and 10). The value of the variable “sum” represents the private key Write: 1)Problem solving methodology and flow chart diagram (Word file) 2)C++ program
Cryptography:
Cryptography is a way to keep messages and other data secret. It is the art of writing or solving ciphers.
What's a cipher? It's a "secret or disguised way of writing," says the Concise Oxford Dictionary. In the
business world, cryptography refers to mathematically based encryption methods that keep data away from
the prying eyes of criminals or enemy governments. Today's businesses and governments use what is called
"strong" encryption. This type of encryption is created using applied mathematics. Strong encryption was
once used solely for military purposes, but in today's information society, encryption is needed for all kinds
of uses.
Keys are a fundamental component of cryptography, being used in cryptographic operations such as
encryption, hashing and signing to provide desirable properties like confidentiality (keeping information
secret), integrity (preventing information being altered) or authenticity (verifying who the information came
from). One key (public key) is used for encrypt the plain text to convert it into cipher text and
another key (private key) is used by receiver to decrypt the cipher text to read the message
Key generation is the process of generating keys in cryptography. The aim of this assignment is to generate
a private key based on the given public key as a positive integer “n” from the range 1 to 10 (excluding 1
and 10). Continue the process of dividing “n” by 2 if the value of “n” is even or add 1 to “n” if the value of
“n” is odd until the value of “n” becomes less than or equal to 1. During this process add the value of “n”
in a variable “sum” if the value of “n” is between 1 and 10 (excluding 1 and 10). The value of the variable
“sum” represents the private key
Write:
1)Problem solving methodology and flow chart diagram (Word file)
2)C++ program
![Cryptography:
Cryptography is a way to keep messages and other data secret. It is the art of writing or solving ciphers.
What's a cipher? h's a "secret or disguised way of writing." says the Concise Oxford Dictionary. In the
business world, cryptography refers to mathematically based encryption methods that keep data away from
the prying eyes of criminals or enemy governments. Today's businesses and governments use what is called
"strong" encryption. This type of encryption is created using applied mathematics. Strong encryption was
once used solely for military purposes, but in today's information society, encryption is needed for all kinds
of uses.
Keys are a fundamental component of cryptography, being used in cryptographic operations such as
encryption, hashing and signing to provide desirable properties like confidentiality (keeping information
secret), integrity (preventing information being altered) or authenticity (verifying who the information came
from). One key (public key) is used for encrypt the plain text to convert it into cipher text and
another key (private key) is used by receiver to decrypt the cipher text to read the message
Key generation is the process of generating keys in cryptography. The aim of this assignment is to generate
a private key based on the given public key as a positive integer "n" from the range 1 to 10 (excluding 1
and 10). Continue the process of dividing "n" by 2 if the value of "n" is even or add 1 to "n" if the value of
"n" is odd until the value of "n" becomes less than or equal to 1. During this process add the value of "n"
in a variable "sum" if the value of “n" is between 1 and 10 (excluding 1 and 10). The value of the variable
"sum" represents the private key.
Deliverables:
> Problem solving methodology and flow chart diagram (Word file)
C+ program (Your Id.CPP)
Sample Output:
EASultan\ Courseslintroduction to computer programming for engineers\Fall-2020HWLab BLab-6Debug\LAB-S.exe
... ...
Generation of a Private Key
................................................
Enter a positive integer n as a public key from the range 1 to 10 : 9
The possible values of n are : 9 5 6 3 4 2
The value of the private key is 29
Press any key to continue. ..](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fd8ccc918-4db5-4541-829c-2f7d10fe6a16%2F0d6d0e74-1db6-4fae-98e8-591664d22c68%2Fooj0e8s_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)