private function fromBase64ToInteger($value) { return gmp_strval(gmp_init(current(unpack('H*', Base64Url::decode($value))), 16), 10); }