Solved

MD5

Posted on 2004-08-14
7
581 Views
Last Modified: 2013-12-25
Hi

Is there a way to Convert a String to a MD5 Encryped hash thing? like a function or some code would bevery helpful,

Thanks!
0
Comment
Question by:Invader_RM
  • 3
  • 2
  • 2
7 Comments
 
LVL 12

Expert Comment

by:Gary Dewrell
ID: 11801882
Hi Invader_RM,
You can purchas NTSC to PAL converters. There are several on the market.
http://www.scancom.plus.com/en-gb/dept_3.html

God Bless
0
 
LVL 12

Expert Comment

by:Gary Dewrell
ID: 11801894
Invader_RM,

Sorry posted to the wrong screen. Long week! hehe
0
 

Accepted Solution

by:
Imbue earned 125 total points
ID: 11802085
You can use the Windows API for this. There is a good example of this here http://www.freevbcode.com/ShowCode.asp?ID=3779
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Invader_RM
ID: 11803429
Lol gdewrell, It's ok.

Imbue -> Yeh, I downloaded that yesterday, before I posted this Topic, but, I really didn't know where to put what I wanted in the code, to be converted to MD5, could you help me?

Also, sorry for low points, I havn't got many left, but I will rise it now a little bit.

Thanks!
0
 

Expert Comment

by:Imbue
ID: 11804751
Using Windows API for MD5 isn't simple. If you are looking for something easier why not use a free thrid party component? There is a really easy to use one you can get from http://www.esquadro.com.br/md5bas.zip

It has a readme inisde of the zip that should get you started.
0
 

Expert Comment

by:Imbue
ID: 11804819
Ok, looks like the link I posted above is dead. I'll help you use the other one that you already have downloaded. Inside of that zip go to CryptoAPI\CryptoAPI KCI\CryptKci_Dll then read the file call history.txt for information about installing the DLL.

Now to use it in your VB project add it to the references in the project. Then you have to make an object from it and then call it's method to do MD5.

Dim CryptoAPI As New clsCryptoAPI
Dim result As String

result = CryptoAPI.CreateHash("test", 1) 'MD5
Debug.Print result
0
 

Author Comment

by:Invader_RM
ID: 11807700
Thank you, its now all working,

thanks very much.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now