Using the native `toHex` function should improve performance.
Using the native
toHexfunction should improve performance.