How to generate MD5 using VBScript in classic ASP?

前端 未结 6 499
慢半拍i
慢半拍i 2020-12-05 11:29

I need to generate an MD5 in my application.

I\'ve tried google but only find PHP code for MD5. I need to connect to a client system that validates using MD5 hash bu

6条回答
  •  抹茶落季
    2020-12-05 12:25

    There is Javascript code that produces an MD5 checksum. One of them, derived from the Google closure library, is available here.

    It's pretty easy to produce a Windows Script Component from the Javascript, then call that component from any COM-enabled language, including VB.

    Here's a working example.

提交回复
热议问题