NodeJS convert to Byte Array code return different results compare to python
NodeJS convert to Byte Array code return different results compare to python Question: I got the following Javascript code and I need to convert it to Python(I’m not an expert in hashing so sorry for my knowledge on this subject) function generateAuthHeader(dataToSign) { let apiSecretHash = new Buffer("Rbju7azu87qCTvZRWbtGqg==", ‘base64’); let apiSecret = apiSecretHash.toString(‘ascii’); var hash …