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

preview_player
Показать описание
In this video we will learn about random number generator (RNG), encryption and encryption along with practical example. we will also talk about encryption and decryption with and without salting, hashing algorithms and memory streams. In second part we will discuss about image to binary conversion and at the end we will discuss about database connection and how values from database table can be bind with dropdownlist.

#encryption
#decryption
#password
#hindi
#urdu
#encrypt
#decrypt
Рекомендации по теме
Комментарии
Автор

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

faizaadnan
Автор

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

sulaimanzahir
Автор

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 😊.

compute-universe
Автор

Hi you did showed decryption examples pls sohow it in u r viewos

haseenaBi-go