Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 607
  • Last Modified:

MD5

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
Invader_RM
Asked:
Invader_RM
  • 3
  • 2
  • 2
1 Solution
 
Gary DewrellSenior Network AdministratorCommented:
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
 
Gary DewrellSenior Network AdministratorCommented:
Invader_RM,

Sorry posted to the wrong screen. Long week! hehe
0
 
ImbueCommented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Invader_RMAuthor Commented:
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
 
ImbueCommented:
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
 
ImbueCommented:
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
 
Invader_RMAuthor Commented:
Thank you, its now all working,

thanks very much.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now