No video

Encryption in Angular and Decryption in c# .NET Core web api using RSA. Secure Programming practice

  Рет қаралды 19,743

Techno Saviour

Techno Saviour

Күн бұрын

#angular #dotnet #rsa #private #public #key
In this video, I have shown how to use RSA in Angular to encrypt data and Decrypting the encrypted text in .net c# web API.
RSA c#: Explanation
• Asymmetric Encryption ...
Git link: github.com/Tec...
RSA wiki: simple.wikiped...
1) Public Key which is used at encryption
2) Private Key which is used at decryption
Amazon affiliate link: amzn.to/2PK3O92
Check out the playlist about RSA
• RSA

Пікірлер: 29
@custombloggertemp
@custombloggertemp 2 жыл бұрын
best turorial i see , thank you very much, you are the best for the clear details
@karthipuglenthi3137
@karthipuglenthi3137 2 жыл бұрын
Thanks and Great Work....
@HendersonHarrisson
@HendersonHarrisson 3 жыл бұрын
Nice one
@dileepreddy3574
@dileepreddy3574 4 жыл бұрын
Thanks Sir. It really helped me.
@TechnoSaviour
@TechnoSaviour 3 жыл бұрын
Glad it helped
@TheXxmedxx
@TheXxmedxx 3 жыл бұрын
Nice details. But https already does that for you. Also hacker can use the same encrypted data and send it to server and will be validated, he/she doesn't need to decrypt it.
@TechnoSaviour
@TechnoSaviour 3 жыл бұрын
There are various ways to handle this. What you are telling is an advanced scenario not covered in this video. Well, the answer to your question is like one way is creating public & private key for each user there by maintaining e2e encryption
@relax4o
@relax4o 2 жыл бұрын
@@TechnoSaviour advanced scenario to have an SSL certificate? Why are you reinventing the wheel? Do you have your production websites not using SSL? If that's the case, you must be sued. Also, you must know that encrypting and decrypting yourself is not a cheap operation. It involves certain amount of computation.
@programador390
@programador390 2 жыл бұрын
Dear very good your video, thank you for the time. Now my query is the following, the backend will return an encrypted data, as angular could decrypt said data, if for that it needs the private key. Some recommend to me that it be deployed to AWS in your context so that only the application can access it. Please can you help me with some ideas.
@tommavlaemynck4954
@tommavlaemynck4954 2 жыл бұрын
You dont need this with modern https. Your requests will alsways be encrypted. Just send your raw password to api, encrypt and if its correct send cookie(JSON web token) to stay logged in.
@chicokin
@chicokin 2 жыл бұрын
What if the request goes through an API gateway before reaching you back end application? Payload criptography is very important.
@gauravparikh1205
@gauravparikh1205 2 жыл бұрын
How tomma because need to encrypt in UI like Angular or Jscript
@vaibhavpatilpatil
@vaibhavpatilpatil 3 жыл бұрын
Where did you save your public key on Angular side ,so that publickey cannot be seen by hackers
@tommavlaemynck4954
@tommavlaemynck4954 2 жыл бұрын
public key is allowed to be seen by hackers. they dont have the private key to decrypt it.
@offir711
@offir711 Жыл бұрын
Why do we need to encrypt if https already does it for us?
@123rulerz
@123rulerz 3 жыл бұрын
Thanks
@liveabhishekshukla
@liveabhishekshukla 4 жыл бұрын
Nice video.. Make a video of jwt authentication via c# and angular..
@TechnoSaviour
@TechnoSaviour 4 жыл бұрын
Okay sure
@abhishekodl5469
@abhishekodl5469 3 жыл бұрын
I get below error for every request made after first request. "Message is too long for PKCS#1 v1.5 padding."
@vipul8512
@vipul8512 Жыл бұрын
Is this possible in java Springboot?
@ravindrazemse9545
@ravindrazemse9545 2 жыл бұрын
How can we sign the request using private key and verify if on backend using public key?
@TechnoSaviour
@TechnoSaviour 2 жыл бұрын
its the other way round, as its designed to work like that. Public key are supposed to be public in nature, so they shouldn't be used for decryption
@human1293
@human1293 Жыл бұрын
How did u create the private and public key?
@TechnoSaviour
@TechnoSaviour Жыл бұрын
I used OpenSSL
@TechnoSaviour
@TechnoSaviour Жыл бұрын
There is another video which explains how to use OpenSSL in windows
@vishalmate5119
@vishalmate5119 Жыл бұрын
Do we really need encryption, coz https will encrypt whole communication channel
@imperatrix0mundi
@imperatrix0mundi 3 жыл бұрын
Te amo, churrita! 🥰
@kishorgarad6328
@kishorgarad6328 3 жыл бұрын
Worked but causing Cors error.
@TechnoSaviour
@TechnoSaviour 3 жыл бұрын
In the startup file, I had written code to handle CORS
Generate public private key in Windows 10 using openssl
4:59
Techno Saviour
Рет қаралды 53 М.
7 Cryptography Concepts EVERY Developer Should Know
11:55
Fireship
Рет қаралды 1,3 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 8 МЛН
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 23 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 11 МЛН
Why High Performers Might Be Hurting Your Team
6:42
Simon Sinek
Рет қаралды 1,7 М.
Cryptography 101 with .NET Core
29:12
Microsoft Visual Studio
Рет қаралды 35 М.
ASP NET Core encryption and decryption example
11:36
kudvenkat
Рет қаралды 63 М.