Nicely Explained: How AES, RSA and Hybrid Encryption works. For Demo using .Net & Esewa/Khalti Keys.

Опубликовано: 01 Сентябрь 2026
на канале: Aaradhya Gopal Nepal
115
2

Code: https://github.com/AradhyaNepal/esewa...

Specific commit of this video: https://github.com/AradhyaNepal/esewa...

I promise I will refactor this code, with proper layers and logic as per those layers. Also, use unit tests, and will not use the private key of the mobile inside the backend for unit testing, unit tests will generate their own as isolation.

If I have said something wrong or you have something to add to this video, feel free to criticize and educate me on the comment, being an INTJ love logical discussion and my growth only comes when someone criticizes me logically,


0:00 Introduction
2:00 Esewa and Khalti API which the backend needs to make.
6:30 Esewa and Khalti Step 1 API codebase.
8:22 Why encryption? Why my watchlist?
10:17 It's where Encryption actually starts. AES.
13:07 How RSA works.
17:15 Large data problem on RSA. Chunking vs Hybrid Encryption.
20:20 How Hybrid Encryption Works.
26:45 Encryption use case agenda for this video.
28:10 Codebase setup, RSA Chunking, and Testing setup.
31:50 RSA with TDD: Test case and its code.
35:25 Testing RSA test case and Khalti-RSA Encryption.
40:20 AES and what I know about IV.
45:10 Hybrid with TDD: Test case and its code.
50:06 Testing AES and Hybrid test case.
53:25 Testing Esewa-Hybrid Encryption, also IV assumption testing.
58:00 The Happy Ending's Final Words. Thanks!