lurker69

how RSA works

Sep 29th, 2016
10,412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. p=7 q=11 for e1=13 e2=37
  2. n=pq
  3. = (7-1)(11-1)=60
  4. 13 mod 60 x 37 mod 60 = 481 mod 60 = 1
  5.  
  6. encryption: e1 2^13 = 30 mod 77 = 30
  7. decryption: e2 30^37 = 2 mod 77 = 2
  8.  
  9. e1 public key
  10. e2 private key
  11.  
  12. Idk if you already had it
  13. If not heres 4 u my friend
  14. what? the email with 8 digits?
  15. oh its proof for quaetsion 2
  16. didnt load beofre i posted question
  17.  
  18. but i am not understanding it 😕
  19. 13mod60 = 481mod60= 1 ??? 13mod60=13 isnt it?
  20. also where did e1 and e2 came from?
  21.  
  22. E1 public key
  23. E2 private key
  24. Sty 13 mod 60 × 37 mod 60
  25. = 481
  26. E is given rnd values to proof
Advertisement
Add Comment
Please, Sign In to add comment