Kindly, help me solve this error of Malformed URI when encrypting string using md5.
The error is:
URIError: URI malformed
at decodeURIComponent (<anonymous>)
at Object.util.decodeUtf8 (/home/pi/Projects/scratcher/node_modules/node-forge/lib/util.js:1671:10)
at ByteStringBuffer.util.ByteStringBuffer.toString (/home/pi/Projects/scratcher/node_modules/node-forge/lib/util.js:716:15)
at /home/pi/Projects/scratcher/src/routes/offerwall/index.ts:32:99
at Generator.next (<anonymous>)
at /home/pi/Projects/scratcher/src/routes/offerwall/index.ts:8:71
at new Promise (<anonymous>)
at __awaiter (/home/pi/Projects/scratcher/src/routes/offerwall/index.ts:4:12)
at /home/pi/Projects/scratcher/src/routes/offerwall/index.ts:12:36
at Layer.handle [as handle_request] (/home/pi/Projects/scratcher/node_modules/express/lib/router/layer.js:95:5)
Kindly, help me solve this error of Malformed URI when encrypting string using md5.
The error is:
The code is:
Your help would be greatly appreciated.