ASP NET Core encryption and decryption example

ASP NET Core encryption and decryption example

kudvenkat

4 года назад

63,009 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

satya subhashini
satya subhashini - 22.05.2023 20:31

XM Lendinh tags last are missing while decoding

Ответить
Attila Guba
Attila Guba - 23.07.2022 02:19

Great explanation! I could implement in Asp Net Core MVC ( .Net6) , just I have made some modification and it works properly! Many thanks!

Ответить
Muhammad Ahmed
Muhammad Ahmed - 20.07.2022 05:07

Nice Tutorial sir but Can We decrypt it from Angular
?

Ответить
Al Waseem
Al Waseem - 03.07.2022 23:27

👍

Ответить
Vasalath Ali Sameer
Vasalath Ali Sameer - 26.10.2021 07:13

Decryption is working fine on same machine from which encryption occured. But the same code is not decrypting on another machine. Any idea what to do ?

Ответить
kk
kk - 31.05.2021 14:50

How to encrypt decrypt connectionString and use it

Ответить
Varun Kumar
Varun Kumar - 11.12.2020 17:39

Thank You

Ответить
MAES
MAES - 29.09.2020 08:43

Hello Sir, how I can validate if the value is ok in the route value. for example if I change the route value I get this message "The provided payload cannot be decrypted because it was not protected with this protection provider." Thank you

Ответить
Anonymous Friend
Anonymous Friend - 18.07.2020 04:40

Delete Employee was not applied in this series!!! could you make video for it!!

Ответить
Fatih Ceylan
Fatih Ceylan - 21.06.2020 14:15

That's very helpful video. But i'm wondering how can we hide/shorten the encrypted id on the url.

Ответить
Luis EM
Luis EM - 05.06.2020 19:31

this guy is soooo awesome

Ответить
Conax Learn
Conax Learn - 20.05.2020 14:10

This introduced another issue. If an invalid token is placed into the browser address field, the page crashes as protector.Unprotect will not be able to decrypt the token into a string that can be converted into an int. So additional error handling need to be in place.

Ответить
Uriel Alvarez
Uriel Alvarez - 14.05.2020 04:14

I don´t like to have to rename all areas of code where I´m using an ID. I think that must exist a faster and dinamic way to do this, may be to encrypting the Id inside the Proterty Id at Employee class. Thanks for Videos, you are amazing.

Ответить
nys
nys - 02.05.2020 09:58

Thanks

Ответить
Sohit Verma
Sohit Verma - 18.03.2020 23:09

Hello sir, i have a question. In my application i need to generate the link dynamically in jquery and call the controller with some query string values. I want to encrypt the query string in url. How i can achieve this??? Please help. Waiting for your response.
Thanks

Ответить
Sandeep Kumar
Sandeep Kumar - 07.01.2020 21:40

Thanks for the master piece again. Can we use DP API encryption in asp net core application targeting linux?

Ответить
Mankgwanyane Tlaka
Mankgwanyane Tlaka - 19.11.2019 09:53

I've been wondering how to go about doing this. I was even thinking of using a GUID. Thank you so much, your videos are helpful.

Ответить