Hi all, Does anyone have a sample code they can share for signing url in classic asp? I have tried quite a few functions I found online but none were accepted by Google.
http://code.google.com/apis/maps/documentation/premier/guide.html#GeneratingSignatures Here is my sample vbscript code: <!-- #include file = "hex_sha1_base64.asp" --> im url, key, sig, full url = "/maps/api/geocode/json?address=New+York&sensor=false" key = "vNIXE0xscrmjlyV-12Nj_BvUPaw=" sig = b64_hmac_sha1(key, url) full = "http://maps.google.com/maps/api/geocode/json?address=New +York&sensor=false&signature=" & sig if(sig = "Pu5wB23-wbDA-o4YFOsgtbAFjk4=") then response.write("SIGNATURE WAS PASSED!!!<BR>") end if this function returns a hmac-sha1 encryption ("jyWdK8C/ xhyNODQnqBUjXkunoPI=") but google expects a different signature ("Pu5wB23-wbDA-o4YFOsgtbAFjk4="). any help is appreciated. Thanks, Y -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
