2
嗨我想加密一個字符串來調用VBA的Web服務。我需要在VBA中執行以下功能,並使用PHP中的示例代碼。這裏是PHP代碼。有誰知道如何在VBA中做到這一點?是否VBA有一個Hash_HMAC
$binaryHash = hash_hmac('sha512', $url.$timestamp, $ws_session_array["sharedSecret"], true);
$hash = base64_encode($binaryHash);
http://www.karenware.com/powertools/pthasher.asp –
@Tim威廉姆斯,這是一般的,由於一個有趣的網站。 –
看到這個職位:http://stackoverflow.com/questions/10068548/base64-hmac-sha1-string-in-vba – HK1