consider adding the next few functions to web3.js:

  • Parameters

    • hex: string

    Returns string