private function convertDecToHex($value) { $value = gmp_strval($value, 10); return EccFactory::getAdapter()->decHex($value); }