There is toHex in strutils: <https://nim-lang.org/docs/strutils.html#toHex%2Cstring>
You'll have to chunk the resulting string into 2-character strings yourself though, which you can do with eg countUp.
There is toHex in strutils: <https://nim-lang.org/docs/strutils.html#toHex%2Cstring>
You'll have to chunk the resulting string into 2-character strings yourself though, which you can do with eg countUp.