Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

MD5 encryption


2 replies to this topic

andyPT

andyPT
  • Full Members
  • 21 posts

Posted 09 June 2004 - 08:51

Hi,

i need a md5 encryption on Installshield.

like:
szencrypt= md5(szString);

first i would use a .dll with a C Code i found on :

http://www.example-c...-md5-digest.asp
and
http://www.cr0.net:8...ode/crypto/md5/

but i don't now how.
then i would write my own Script.... no way.

Can anyone help me?
Thanx a lot.

Esquimaux

Esquimaux
  • Members
  • 17 posts

Posted 11 June 2004 - 13:52

Hi Andy,

I think this question would get more responces from the following site:

Technet Discussion Groups Home (Scripting)

In that forum, inquire about creating a DLL which allows function calls from Windows scripts.

Once you learn how to do that, you can make those same dll function calls via the UseDLL/UnuseDLL InstallShield functions (see the documentation).

I hope this helps.

Good luck.
The Eskimo

"Evil shall come upon thee, which thou shalt not know how to deprecate"
- Robert Lowth, eighteenth-century Bishop of Winchester

andyPT

andyPT
  • Full Members
  • 21 posts

Posted 14 June 2004 - 07:52

Thank you!

now i can Use a Dll with:

#define DLL_FILE "MD5.dll"
prototype STRING MD5.MD5Final(BYREF STRING); ??<- is that right?

UseDLL (DLL_FILE);

in the Source i found this functions:
extern void MD5Init();
extern void MD5Update();
extern void MD5Final();

witch one did i need?