protected function dec2hex($int, $padLength = 2) { return str_pad(dechex($int), $padLength, 0, STR_PAD_LEFT); }