How to Encrypt and Decrypt Password using C# and ASP.NET with Example

How to Encrypt and Decrypt Password using C# and ASP.NET with Example

Virtual Education Point

3 года назад

6,486 Просмотров

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


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

@codingislife6387
@codingislife6387 - 01.07.2022 21:37

Thanks Sir May u live long

Ответить
@sulaimanzahir702
@sulaimanzahir702 - 31.05.2021 13:36

Hello I'm Sulaiman from Jordan, Mashallah good work, but can I ask how we can make decrypt ? you only make encrypt !

Ответить
@chairmanar4191
@chairmanar4191 - 05.10.2020 19:13

great

Ответить
@myraza167
@myraza167 - 17.07.2020 07:30

Good

Ответить
@COMEDY-ho5dp
@COMEDY-ho5dp - 14.07.2020 14:26

Good explanation

Ответить
@emcearnmoney8429
@emcearnmoney8429 - 14.07.2020 13:46

Great

Ответить
@sairahameed2945
@sairahameed2945 - 14.07.2020 10:14

Nice

Ответить
@shahrukhishere6139
@shahrukhishere6139 - 13.07.2020 15:13

Good sir ji

Ответить
@botukdas1380
@botukdas1380 - 10.07.2020 10:59

Helpful

Ответить
@piyahalder5666
@piyahalder5666 - 10.07.2020 10:47

Nice

Ответить
@dasmilan1960
@dasmilan1960 - 10.07.2020 10:42

Helpful info

Ответить
@Ciitcluster
@Ciitcluster - 09.07.2020 22:26

Great effort sir.
1. Passwords are always encrypted with one way hashing algorithms
2. Converting plan text into cypher text and than in the application decrypt it and match it is also not good approach, if someone got access to your application, than it will be easy to decrypt all the passwords stored in the database.
3. For the business and users end applications this approach of converting image into binary and than saving it into the database and on retrieval, making bitmap (image) with that binary and return the bitmap consume much memory and time, and there are high chances of losing the image data.
The better option is to check the image, if is valid, assign it a unique image, you can use randomString and concatenate current timestamp withe image file name and save the image to the server by maping path and saving the a image name into DB.
4. Sir you're not checking the image file. What if I change the bash or cmd file's extension and than it will allow you to convert it into the stream and on retrieval it cause the problems.
5. For the passwords, it will be enough good we use BCRYPT algorithm and separating and hard coding the salt and saving encrypted string into DB and on retrieval, just get the hashed string, concatenate the salt and match the pattern.
6. Sir videos are too long, you're putting your effort, if you will manage to upload small videos, 5-7 minutes, your channel will be very soon, as for now only the student having your course watching this video, but what abt other people?
You can explain Hashing in one videos, passwords encryption in another video and so one.

This is very good effort by you by the way 😊.

Ответить
@shakeebahmedkhan8026
@shakeebahmedkhan8026 - 09.07.2020 19:39

Zbardast Sir, Great work

Ответить
@AVfoodland
@AVfoodland - 09.07.2020 13:27

Explain well

Ответить
@pujabharti1
@pujabharti1 - 08.07.2020 19:42

👌

Ответить
@chasadalijaved0990
@chasadalijaved0990 - 08.07.2020 18:26

very helpful for everyone

Ответить
@chasadalijaved0990
@chasadalijaved0990 - 08.07.2020 18:26

very helpful for everyone

Ответить
@animallovy
@animallovy - 08.07.2020 16:47

nice.....keep it up,👌👌👌👌👌👌

Ответить
@curiouscuisinebymondira9234
@curiouscuisinebymondira9234 - 08.07.2020 15:39

Great job 👍

Ответить
@voiceofindrani4873
@voiceofindrani4873 - 08.07.2020 15:30

Good

Ответить
@khalidahmad4782
@khalidahmad4782 - 07.07.2020 22:52

Great😍

Ответить
@janjira548
@janjira548 - 07.07.2020 22:47

Cool🥰

Ответить
@comsatsswl7278
@comsatsswl7278 - 07.07.2020 22:42

you are a good teacher mashaAllah

Ответить
@tanhavlogz9457
@tanhavlogz9457 - 07.07.2020 22:13

Good explanation

Ответить
@poonambhuvad4008
@poonambhuvad4008 - 07.07.2020 21:32

Informative

Ответить
@sugunag6466
@sugunag6466 - 07.07.2020 17:36

Very informative

Ответить
@KitchenWithAdeela
@KitchenWithAdeela - 07.07.2020 14:01

Bht acha explanation ha sir g 👍👍

Ответить
@masifbashir8664
@masifbashir8664 - 07.07.2020 12:50

Nice

Ответить
@faizaadnan5836
@faizaadnan5836 - 07.07.2020 12:26

Please make video on precision, recall, f1 score and accuracy. A theory based detailed video

Ответить