RSA - Public Key Cryptography + JAVA (Prototype Project 02)

4,769 views · Published 29 November 2018 · 30:31 · Indexed 24 September 2026

Channel: Prototype Project · 2018 · Education

Watch on YouTube

► substack article @ https://prototypeproject.substack.com/p/rsa-cryptosystem-a-practical-introduction
► get access to members-only video contents + support: 
        https://www.youtube.com/channel/UCUvwlMMaeppKPdtAK8PxO8Q/join
► download ai source code @ https://sites.fastspring.com/prototypeprj/instant/ai
► download crypto source code @ https://sites.fastspring.com/prototypeprj/instant/crypto

00:10 demo prebuilt version of the application
03:15 how can a passive eavesdropper decrypt messages
04:20 how to compute inverse modulo of an integer using extended euclidean algorithm (EEA)
05:25 what is the Euler phi function
07:55 building a prime factorization crypto system
10:38 how to encrypt with RSA
11:00 how to decrypt with RSA
11:21 coding the application
14:12 code the server side
17:48 code the client side
18:56 calculate the private key d
19:12 calculate phi
19:26 generate the public key
22:30 handle receiving the public key of the other client
22:44 handle receiving messages from the other client
25:37 test run the application

More from this channel