R – MD5 on ASP Classic and .NET

asp-classiccryptographynetvbscript

I have a working .NET web application that perform hashing and encryption using MD5 on a certain string. This string will be stored in a cookie.

The problem is, I will need to validate this cookie from an ASP classic application.

From what I know, there are no built in cryptographic providers in ASP classic, thus I may need to copy/write my own implementation of the MD5 algorithm.

Is there any implementation ready to use, preferably open source (I don't want rogue code sending strings around the world), and compatible with the .NET counterpart?

Best Answer

Create your own .net DLL only with the bytes needed to perform the validation and then call it from ASP!

Here is how: Exposing .NET Components to COM