Advertisement
Guest User

kokotina

a guest
Nov 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #1
  2. p=3
  3. q=11
  4. n=33
  5. d=7
  6. M=5
  7. e = 3
  8. msg 1 encrypted = 26 (5^3 % 33)
  9. msg 1 decrypted = 5 (26^7 % 33)
  10.  
  11. #2
  12. p=7
  13. q=11
  14. n = 77
  15. e=17
  16. M=8
  17. d = 53
  18. msg 1 encrypted = 57 (8^17 % 77)
  19. msg 1 decrypted = 8 (57^53 % 77)
  20.  
  21. #3
  22. p=17
  23. q=31
  24. n = 527
  25. e=7
  26. M=2
  27. d = 823
  28. msg 1 encrypted = 128 (2^7 % 527)
  29. msg 1 decrypted = ??? číslo je nadvesmírně veliké (128^823 % 77)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement