The comment said, “calculations done in base 16”. The code said, “n % 12”.
The code wins, always.
At least it wasn’t done in a base-11 substitution cipher, because that would stump dozens of highly-intelligent alien races for centuries.
[…and if you didn’t get that joke, you managed to avoid reading this truly wretched pulp sci-fi novel, so good for you!]