title: How to convert base64 to hex string without using builtin function in JavaScript
body: <p>I want to convert a base64 value i.e: <code>AQ0gIAcDExUQAQECAWQW</code> to a hexadecimal string <code>010D20200703131510010102016416</code> using JavaScript in thingsboard. While using atob function i am getting this error
  <code>javax.script.ScriptException: ReferenceError: &quot;atob&quot; is not defined in at line number 24</code></p>