C # often involves encrypting the user's password to decrypt the algorithm, where using MD5 encryption is the most common way to implement it. This paper summarizes the general algorithms and combines their own little experience to share to everyone.
// Encrypted string. Note that the strencrkey length is 8 bits. (to increase or decrease the key length, adjust the IV length)Public String desencrypt (string strtext, string strencrkey)
// Decrypt the string. Note that the strencrkey length is 8
Cf8497dc0aa9f7118061666012bfe3eb This MD5 is two times MD5 encryption produced, can now reverse solution.
Reply to discussion (solution)
I'm sorry to tell you, you can't.
MD5 encryption is unidirectional and cannot be decrypted
Looks like
C # often involves encrypting the user's password to decrypt the algorithm, where using MD5 encryption is the most common way to implement it. This paper summarizes the general algorithms and combines their own little experience to share to everyone.
C #: use MD5 to encrypt and decrypt user passwords,
C # usually involves encryption and decryption algorithms for user passwords. using MD5 encryption is the most common implementation method. This article summarizes common algorithms and shares
Use the MD5 conversion algorithm to prevent brute force cracking. MD5 is the most common cryptographic algorithm in Web applications. Because MD5 is irreversible, the ciphertext obtained after MD5 calculation cannot be obtained through reverse
C # implements MD5 encryptionExcerpt from: http://blog.csdn.net/shenghui188/archive/2010/03/28/5423959.aspxMethod One:First, let's briefly introduce MD5MD5 's full name is Message-digest algorithm 5 (Information-Digest algorithm, in the early 90 by
MD5 is a secure hashing algorithm, input two different plaintext will not get the same output value, according to the output value, can not get the original plaintext, that is, its process is irreversible; So to decrypt MD5 there is no ready-made
Method OneFirst, let's briefly introduce MD5MD5 's full name is Message-digest algorithm 5 (Information-Digest algorithm, in the early 90 by MIT Laboratory for Computer Science and RSA Data Security Inc Ronald L. Rive St developed, developed by MD2,
MD5 encryption
MD5 by MD2, MD3, MD4 evolved, although the MD5 encryption algorithm now some people have to untie it, but its encryption mechanism is still very strong, I think the big logarithm will not be solved. MD5 encryption algorithm is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.