Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
首先,我对 API 很陌生,所以我在这里努力保持头脑清醒......但无论哪种方式,我都需要在 PHP 中生成 HMAC-SHA 签名。我该怎么做?
<?php echo "welcome<br />"; echo "welcome<br />"; echo hash_hmac('sha256', 'This is only a test sentence of gibberish.', 'secret123'); echo "<br />"; ?>