Author

Topic: Asymmetric encryption--RSA(A novice explanation) (Read 134 times)

copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
I am always wondering when to use code and when to use quote.


Code is good for large bodies of text because it's scrollable once it gets too large.
I use quote either for quoting or just as a large box separator for when I need it - it works quite well for the latter.
member
Activity: 98
Merit: 173
Sorry, I am not a native English speaker,

Don't worry. That one threw me off too until I searched it after the first time I read it! Some mathematic definitions are quite confusing too.

I will check my vocabulary again. I only came into contact with encryption this month, so I posted this post in the help section, I hope you can point out my mistakes and help.
thanks.
That was the only mistake I think (other than the formatting but you might be better off replacing the "code" tabs with "quote" ones?

You've got far in a month if you're already here too! You might want to add references for other newbies to follow you if there's a good resource you've found.
Quote
That was the only mistake I think (other than the formatting but you might be better off replacing the "code" tabs with "quote" ones?

I have changed the code to quote.

I just realized that sup and sub cannot be displayed in the code. I am always wondering when to use code and when to use quote.

Quote
You've got far in a month if you're already here too! You might want to add references for other newbies to follow you if there's a good resource you've found.

Yes, I am going to “live” here for a long time Cheesy.I will add my personal information slowly, thank you for your reminder.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
Sorry, I am not a native English speaker,

Don't worry. That one threw me off too until I searched it after the first time I read it! Some mathematic definitions are quite confusing too.

I will check my vocabulary again. I only came into contact with encryption this month, so I posted this post in the help section, I hope you can point out my mistakes and help.
thanks.
That was the only mistake I think (other than the formatting but you might be better off replacing the "code" tabs with "quote" ones?

You've got far in a month if you're already here too! You might want to add references for other newbies to follow you if there's a good resource you've found.
member
Activity: 98
Merit: 173
Your choose two prime numbers is different from what I learned. Coprime is normally what I see when referring to rsa and it means two numbers that don't share a common factor (I think).

I'm not mentioning this to be pedantic it's a detail that, I feel, dramatically increases the numbers that can be picked for p and q.
Sorry, I am not a native English speaker,
I will check my vocabulary again. I only came into contact with encryption this month, so I posted this post in the help section, I hope you can point out my mistakes and help.
thanks.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
Your choose two prime numbers is different from what I learned. Coprime is normally what I see when referring to rsa and it means two numbers that don't share a common factor (I think).

I'm not mentioning this to be pedantic it's a detail that, I feel, dramatically increases the numbers that can be picked for p and q.
member
Activity: 98
Merit: 173
First of all, let’s briefly introduce what asymmetric encryption is composed of.
  • information:Information that needs to be encrypted
  • Public key: an encrypted password that everyone can know
  • Private key: an absolute password that only the party who needs to decrypt knows
  • Encryption algorithm: how these passwords interact with the information that needs to be transmitted
  • Ciphertext:Secret information after the interaction of information and password

A more detailed explanation can be obtained from here
Asymmetric Encryption Vs. Symmetric Encryption!

Below I will explain the working mechanism of RSA

Quote
(1) Data sent: Input

(2) Encryption method F1:Inpute/N——Remainder C;

(3) Data transmitted: C

(4) Encryption password: e

(5) Decryption method F2: C d/N——Remainder output

(6) Decryption password: d

(7) Obtain information: output

(Cool The key core: Obviously the most important thing above is how e, d and N come from:
1) Choose two prime numbers (prime numbers), P and Q, P*Q=N
2) y=(P-1)*(Q-1)
3) Choose a number e,   e∈(1,y), e ⊥ y
4) Calculate a number d; d = (y*k+1)/e; where k is any integer,
the purpose is to make d an integer (obviously as long as there is a lot of k,
also You can get a lot of d that meet the conditions, we only need to take one of them!)


The above is the whole content of RSA. In fact, it is relatively uncomplicated and easy to understand.

Almost all of our current banking systems, radio frequency card encryption systems are based on this principle.

The security of RAS lies in how a large enough number can decompose prime factors. As above, even if you crack C, you also know N. However, if you can’t figure out which two numbers (P and Q) N is calculated from, , y also cannot be known, and d cannot be solved naturally.


Sorry I am not a native English speaker, if I use any words wrong, please correct me, thank you.
The topic data comes from this article:Principles and examples of RSA and DSA algorithms
Jump to: