unable to verify openssl signature in php compare to nodejs
问题 I am able to verify the signature by using Nodejs crypto.createVerify whereas PHP: openssl_verify always return false. Nodejs: Getting correct result const encryptKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; const crypto = require('crypto'); var data = Buffer.from(JSON.stringify(vd), "utf-8"); var password = Buffer.from(encryptKey, "utf-8"); var hashPassword = crypto.createHash('sha256').update(password).digest(); var data ='oubWLpvUHAX5Z/9fmiCx8PGTqDl0