{"id":68387,"date":"2019-08-23T01:32:56","date_gmt":"2019-08-22T17:32:56","guid":{"rendered":"http:\/\/www.xiaoyebailong.com\/?p=68387"},"modified":"2019-08-27T13:03:19","modified_gmt":"2019-08-27T05:03:19","slug":"asp%e5%ad%97%e7%ac%a6%e4%b8%b216%e8%bf%9b%e5%88%b6%e4%ba%92%e8%bd%ac","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2019\/08\/23\/68387.htm","title":{"rendered":"ASP\u5b57\u7b26\u4e3216\u8fdb\u5236\u4e92\u8f6c"},"content":{"rendered":"\n<p>&lt;%<br>\n&#8216;\u5b57\u7b26\u4e32\u8f6c\u5341\u516d\u8fdb\u5236<br>\nFunction StrToHex(ByRef Str)<br>\nDim Length<br>\nDim Max<br>\nDim strHex<br>\nMax = Len(Str)<br>\nFor Length = 1 To Max<br>\nstrHex = strHex &amp; Right(&#8220;0&#8221; &amp; Hex(Asc(Mid(Str, Length, 1))), 2)<br>\nNext<br>\nStrToHex = strHex<br>\nEnd function<br>\n<br>\n&#8216;\u5341\u516d\u8fdb\u5236\u8f6c\u5b57\u7b26\u4e32<br>\nFunction HexToStr(ByRef strHex)<br>\nDim Length<br>\nDim Max<br>\nDim Str<br>\nMax = Len(strHex)<br>\nFor Length = 1 To Max Step 2<br>\nStr = Str &amp; Chr(&#8220;&amp;h&#8221; &amp; Mid(strHex, Length, 2))<br>\nNext<br>\nHexToStr = Str<br>\nEnd function<br>\n%&gt;<br>\n<br>\n&lt;%<br>\nDim y,h,s<br>\ny = \n&#8220;5F24E863C33D8237C9DEC4AAD17CFCE10832C2255B2301AFC168B9781E273823ADB8E2D4B2A867BE1891CC95A8998C42&#8221;<br>\nh = StrToHex(y)<br>\ns = HexToStr(h)<br>\nResponse.Write(y &amp;&#8221;&lt;br&gt;&#8221;)<br>\nResponse.Write(h &amp;&#8221;&lt;br&gt;&#8221;)<br>\nResponse.Write(s &amp;&#8221;&lt;br&gt;&#8221;)<br>\n%&gt;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;% &#8216;\u5b57\u7b26\u4e32\u8f6c\u5341\u516d\u8fdb\u5236 Function StrToHex(ByRef Str) Dim Length Dim Max Dim strHex Max = Len(Str) For Length = 1 To Max st&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-68387","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/68387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=68387"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/68387\/revisions"}],"predecessor-version":[{"id":68388,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/68387\/revisions\/68388"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=68387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=68387"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=68387"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=68387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}