Unbreakable Security: RSA & AES Encryption Demonstrated with Code π
Learn how to securely encrypt, decrypt, and verify messages using RSA and AES encryption methods. Includes practical coding examples in JavaScript, Python, and Java for robust message protection.

Th30z Code
1.8K views β’ Jun 25, 2023

About this video
In this video we will see how to encrypt, decrypt, and verify a message using Asymmetric Encryption, with code examples in Javascript, Python and Java.
We will see why hybrid encryption is commonly employed to overcome the limitation of asymmetric encryption.
There will be code examples in Python, Javascript and Java to show how to use APIs to encrypt and decrypt using both RSA-OAEP and AES-256.
The source codes used in this video are available on github: https://github.com/matteobertozzi/snippets/tree/main/crypto
The slides are available at: https://speakerdeck.com/matteobertozzi/send-and-receive-messages-securely-using-asymmetric-cryptography
Chapters:
0:00 Intro
1:02 Generate and Export RSA keys
2:53 Import RSA keys
3:26 Encrypt/Decrypt with RSA
4:19 Asymmetric Encryption Limitations
4:46 Hybrid Cryptography intro
5:20 Generate, Export and Load AES key
5:57 Encrypt/Decrypt with AES
7:45 Hybrid Cryptography flow
8:19 Digital Signature
8:40 Sign/Verify a Message
9:55 Send & Receive messages securely
#python #javascript #java #typescript #cryptography #encryption #codingtips #programming #coding #security
We will see why hybrid encryption is commonly employed to overcome the limitation of asymmetric encryption.
There will be code examples in Python, Javascript and Java to show how to use APIs to encrypt and decrypt using both RSA-OAEP and AES-256.
The source codes used in this video are available on github: https://github.com/matteobertozzi/snippets/tree/main/crypto
The slides are available at: https://speakerdeck.com/matteobertozzi/send-and-receive-messages-securely-using-asymmetric-cryptography
Chapters:
0:00 Intro
1:02 Generate and Export RSA keys
2:53 Import RSA keys
3:26 Encrypt/Decrypt with RSA
4:19 Asymmetric Encryption Limitations
4:46 Hybrid Cryptography intro
5:20 Generate, Export and Load AES key
5:57 Encrypt/Decrypt with AES
7:45 Hybrid Cryptography flow
8:19 Digital Signature
8:40 Sign/Verify a Message
9:55 Send & Receive messages securely
#python #javascript #java #typescript #cryptography #encryption #codingtips #programming #coding #security
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
1.8K
Likes
48
Duration
10:57
Published
Jun 25, 2023
User Reviews
4.5
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.