MD5 hash encryption
public static string Md5Encryption(string dataToEncrypt) { var bytes = Encoding.Default.GetBytes(dataToEncrypt); using (var md5 = new MD5CryptoServiceProvider()) { var cipher = md5.ComputeHash(bytes); return Convert.ToBase64String(cipher); } }
hi, i am new in security concepts of .net.
ReplyDeleteBut i want to learn it
Your articles are great but i got problem to decrypt the string that has been encrypted by MD5.
Could you also post this how could i decrypt the string that is encrypted by MD5
You cannot decrypt MD5 hashes. It is one way encryption. You'd want RSA or Triple DES (or something else) if you want encryption and decryption
ReplyDeleteThanks for this information, it was very helpful. Keep up the good work.
ReplyDeletepgp desktop
There are many different types of encryption used in security of the computers but one that is most strong and efficient is the MD5 Hash. Don't ever forget to include a reference to 'System.Security.Cryptography' in your project, it's a must.
ReplyDeleteMotifz Designer Lawn. 1, 2 & 3 Piece Unstitched Premium Embroidered Lawn 2019, Premium embroidered Lawn, Premium lawn, Premium lawn 2019, Motifz, Premium lawn in Pakistan. Shipping worldwide. Stitching option available.
ReplyDeleteBuy online wholesale printed custom cbd boxes and packaging at easy prices and shipping worldwide, with 24/7 customer support. Get a free custom quote now!!
ReplyDeleteBlackbird packaging provide you with any size, shape design, cbd boxes sooner than any other packaging competitor in the market
ReplyDeleteBlackbird packaging provide you with any size, shape design, custom cookie boxes wholesale sooner than any other packaging competitor in the market
ReplyDeleteBy creating your own Christmas images, you can personalize the gifts you give and spread a sense of happiness all year long. Merry Christmas 2020 Greetings You can give something meaningful to someone you care about in a way that is both unique and personal.
ReplyDelete