A MD5 DLL component {81K} that can be applied to an ASP tag encrypted file

Source: Internet
Author: User
Tags md5 return
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!





Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.