User Tools

Site Tools


network_stuff:cryptography

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
network_stuff:cryptography [2024/12/19 21:24] jotasandokunetwork_stuff:cryptography [2024/12/19 21:25] (current) jotasandoku
Line 141: Line 141:
   decrypted = (encrypted ^ d) mod n   decrypted = (encrypted ^ d) mod n
  
-There's a mathematical relationship between e, d, and n that makes RSA work. If someone could factor n into p and q, they could calculate d using a formula that connects them all. To calculate d, you need to know: e (which is public) +There's a mathematical relationship between e, d, and n that makes RSA work. If someone could factor n into p and q, they could calculate d using a   - formula that connects them all. To calculate d, you need to know: e (which is public) 
-(p-1) and (q-1)+  (p-1) and (q-1) 
 +  - p and q are like the blueprint for making copies of the key 
 +  - n being hard to factor means no one can recreate the blueprint, even though they can see the lock
  
 [[https://www.comparitech.com/blog/information-security/rsa-encryption/|Process:]] [[https://www.comparitech.com/blog/information-security/rsa-encryption/|Process:]]
network_stuff/cryptography.1734643454.txt.gz · Last modified: by jotasandoku