perl has a hex function and BigNumber support, too. :) % perl -Mbignum -wle'print hex pop' 09F911029D74E35BD84156C5635688C0 13256278887989457651018865901401704640