Is there a function within Bro that will allow me to turn decimal into hex?
You could do something like this ("d" is a count or int value):
print fmt("%x", d);
Or, if your decimal is already a string, there’s always this:
Sorry, what I want to do is take an integer like:
and convert it to hexidecimal:
Then what Daniel said is your way forward, if you need capital letters, something like this would work:
local num: count = 32154;
The to_upper() function returns a string, so your example can be simplified:
Awesome, works! Thank you guys!