you could also just use the int result, for the cache key it doesn't matter if it is hex or not