How to implement the signature algorithm of Aliyun API Gateway with Javascript

there is a project that uses Aliyun"s API gateway to implement identity authentication, which is currently stuck on the generation algorithm of X-Ca-Signature .

The idea of

signature is as follows:
https://help.aliyun.com/docum.

officially there is an implementation algorithm for NodeJS , but the Buffer object is used in the signature. There is no such thing in JavaScript . Is there any other way to implement it in JavaScript ?

Mar.10,2021

Nodejs certainly has Buffer: https://nodejs.org/dist/lates.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d7d7-2c394.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d7d7-2c394.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?