Im not goo writing in english, so here I go !
Public Shared Function Encriptar(ByVal cleanString As String) As String
Dim clearBytes As [Byte]()
clearBytes = New UnicodeEncoding().GetBytes(cleanString)
Dim hashedBytes As [Byte]() = CType(CryptoConfig.CreateFromName("MD5"),
HashAlgorithm).ComputeHash(clearBytes)
Dim hashedText As String = BitConverter.ToString(hashedBytes)
Return hashedText
End Function
this function encrypt user password, I need to un-encrypt that password. Can
any1 help me
tnks
--
Francisco J. Salazar - MCP 3 2819
MD5 is one-way encryption. It can't be decrypted.
Also, follow up in a DotNet group.
Bob Lehmann
"f_salazar" <es***********@fac.mil.co> wrote in message
news:78**********************************@microsof t.com... Im not goo writing in english, so here I go !
Public Shared Function Encriptar(ByVal cleanString As String) As String Dim clearBytes As [Byte]() clearBytes = New UnicodeEncoding().GetBytes(cleanString) Dim hashedBytes As [Byte]() =
CType(CryptoConfig.CreateFromName("MD5"), HashAlgorithm).ComputeHash(clearBytes) Dim hashedText As String = BitConverter.ToString(hashedBytes) Return hashedText End Function
this function encrypt user password, I need to un-encrypt that password.
Can any1 help me
tnks
-- Francisco J. Salazar - MCP
MD5 is one-way encryption
actually its a HASH, there is no such thing as one-way encryption
encryption is reversable, hashes are not
"Bob Lehmann" <no****@dontbotherme.zzz> wrote in message
news:uy**************@TK2MSFTNGP10.phx.gbl... MD5 is one-way encryption. It can't be decrypted.
Also, follow up in a DotNet group.
Bob Lehmann
"f_salazar" <es***********@fac.mil.co> wrote in message news:78**********************************@microsof t.com... Im not goo writing in english, so here I go !
Public Shared Function Encriptar(ByVal cleanString As String) As String Dim clearBytes As [Byte]() clearBytes = New UnicodeEncoding().GetBytes(cleanString) Dim hashedBytes As [Byte]() = CType(CryptoConfig.CreateFromName("MD5"), HashAlgorithm).ComputeHash(clearBytes) Dim hashedText As String = BitConverter.ToString(hashedBytes) Return hashedText End Function
this function encrypt user password, I need to un-encrypt that password. Can any1 help me
tnks
-- Francisco J. Salazar - MCP
Whatever there, mister precision.
You've certainly added a lot of value to, and totally invalidated my answer.
You may want to spread your anality to the several sources out on the
Internet that also refer to MD5 as one-way encryption. I'd hate to see you
pee your pants over such a gross inaccuracy.
Bob Lehmann
"PJones" <pj****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... MD5 is one-way encryption
actually its a HASH, there is no such thing as one-way encryption
encryption is reversable, hashes are not
"Bob Lehmann" <no****@dontbotherme.zzz> wrote in message news:uy**************@TK2MSFTNGP10.phx.gbl... MD5 is one-way encryption. It can't be decrypted.
Also, follow up in a DotNet group.
Bob Lehmann
"f_salazar" <es***********@fac.mil.co> wrote in message news:78**********************************@microsof t.com... Im not goo writing in english, so here I go !
Public Shared Function Encriptar(ByVal cleanString As String) As String Dim clearBytes As [Byte]() clearBytes = New UnicodeEncoding().GetBytes(cleanString) Dim hashedBytes As [Byte]() = CType(CryptoConfig.CreateFromName("MD5"), HashAlgorithm).ComputeHash(clearBytes) Dim hashedText As String = BitConverter.ToString(hashedBytes) Return hashedText End Function
this function encrypt user password, I need to un-encrypt that
password. Can any1 help me
tnks
-- Francisco J. Salazar - MCP
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: wqhdebian |
last post by:
As far as I know,when encrypt or decrypt ,a key must first be got,and
the key is first generate by a tool or from SecurityRandom,that means
I can not generate the same key with the same input.Does...
|
by: Alan Murrell |
last post by:
Hello,
I am setting up a Postfix + MySQL + Courier-IMAP system. I am trying
to write a shell script which will insert the values into the
database. For the password encryption, I wish to use...
|
by: Anilza Popat |
last post by:
I would like to know how to encrypt and decrypt files
using c#.
I want a program that asks for password before encrypt or
decrypt the file.
best regards
|
by: Alex Nitulescu |
last post by:
Hi. I am writing an app which stores usernames/passwords and email addresses
in a database table.
The question is how can I encrypt the password provided by the user ?
...
|
by: Jean Christophe Avard |
last post by:
Hi! I am designing an application wich comes with image file. These images
are copyrighted and they have to be accessible only from within the
application. At first, I tought I was going to store...
|
by: toupeira23 |
last post by:
Hello,
I'm trying to encrypt passwords in my app. After discovering that
there's no simple function to do this, I wrote a wrapper class which
decodes a string using UTF8, encrypts it with...
|
by: google |
last post by:
OK, I know how to encrypt and decrypt data, but here's the deal:
I have a large Winforms .NET 2.0 application which is currently storing
the connection string in the app.config file unencrypted...
|
by: Aneesh P |
last post by:
Hi All,
I need to encrypt some fields esp password key values in configuration
file while installting the application using .Net installer project
and decrypt those values from my...
|
by: Gilles Ganault |
last post by:
Hello
I'd like to encrypt a customer's organization name to use this as
their password to launch our application, and decrypt it within our
VB5 application.
We will then use this information...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |