function hmacToBase64 hmacToBase64(buf: ArrayBuffer): string Convert ArrayBuffer to base64 string Parameters buf: ArrayBuffer Return Type string