hi.

i need to convert this function into classic asp.

string textToEncode = consumerKey + "&" + timestamp + "&" + orderId;
byte[] hmacKey = Encoding.ASCII.GetBytes(consumerSecret);
HMACSHA1 myhmacsha1 = new HMACSHA1(hmacKey);
byte[] byteArray = Encoding.ASCII.GetBytes(textToEncode);
MemoryStream stream = new MemoryStream(byteArray);

string signature = myhmacsha1.ComputeHash(stream).Aggregate("", (s, e) => s + String.Format("{02}", e), s => s);


please its very urgent. help me for this conversion.


regards

saba