Encryption | Encryption why would I want to use this? Because in the near period of time to develop a data file in the network Exchange transmission of ghosts, which to the document for effectiveness.
And I did not find csdn in the ASP to mark the MD5 method of encrypting files, so I had to write a component.
Since it has become a component, it should be possible to tag string functions faster than that popular MD5 class.
Installation method:
regsvr32 parmf.dll
If you want to cancel the registration can be: regsvr32/u parmf.dll
Use examples:
<% Set delphiaspobj = Server.CreateObject ("Parmf.md5file")
Delphiaspobj.in_path= "D:\test1.xml" writes the file path and filename on your hard drive
Response.Write Delphiaspobj.get_path_md5 & "<br>"
Delphiaspobj.in_str= "http://par.2288.org" writes the string you want to mark
Response.Write Delphiaspobj.get_str_md5 & "<br>"
Set delphiaspobj=nothing
%>
There are only two parameters and two return values.
When you want to tag a file, you assign a value to the. In_path parameter
To output a MD5 file string, the return value of the output. GET_PATH_MD5 can be
If you want to mark a character, you must assign a value to the. In_str parameter
To output a MD5 character string, the return value of the output. GET_STR_MD5 can be
Online now to find signs of encrypted characters MD5 more, but a moment can not find the MD5 algorithm to mark encrypted files, so had to write a control
Mark the purpose of the character, everyone knows.
and tag file is mainly used in, the file in the network transmission, not be modified and the effectiveness of inspection.
Download Address: http://par.2288.org/artandsoft.asp?action=content&id=47
Because this thing is very simple, can not say what copyright, so the appointment without defense!