A system and method for rapidly analyzing elemental abundances in rock or soil samples under field conditions. Also disclosed is a negative-tone radiation-sensitive resin composition comprising the low molecular weight compound, the photoacid generator, an alkali-soluble resin, and a compound capable of crosslinking with the alkali-soluble resin in the presence of an acid. This is done by providing a solution where sequence number rollover events and handover events are separated from each other in providing input to radio resource control message encryption.