~/talk

How Prime Numbers Keep the Internet Secure

Talkat RubyConf 2020 · 2020-11-17..11-19· [security, ruby]
links:none on file
slides:none on file

Shows a hands-on RSA implementation using Ruby and a tiny server: picks p=13, q=17, n=221, computes totient 192, chooses e=7 and brute-forces d as 55, then demonstrates encrypting to cipher 185 and decrypting back to 42 via curl and IRB. Explains why prime factorization of large (2–4k bit) n is infeasible (millions–billions of years on classical hardware), notes real-world use in TLS/SSH and weaknesses from developer mistakes and quantum attacks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45What are Prime Numbers
  3. 4:19What are Encryption Functions
  4. 5:42Symmetric Encryption
  5. 6:47Asymmetric Encryption
  6. 11:50RSA History
  7. 14:21RSA Implementation
  8. 16:23Selecting the Value
  9. 17:37Creating the Private Key
  10. 20:51Encryption
  11. 22:18Encryption Decryption
  12. 24:58Can RSA be broken
  13. 26:12Prime factorization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.