Parse a 5G SUCI into its fields, or build one from an IMSI — with the SUPI/SUCI concealment structure and ECIES Profile A/B explained, per 3GPP TS 23.003 and TS 33.501.
🔐 TS 23.003 §2.2B / §28 · TS 33.501 Annex C (ECIES)Hyphen form: suci-<supiType>-<MCC>-<MNC>-<routing>-<scheme>-<hnKeyId>-<output>. Scheme 0 = null (output is the MSIN); 1 = Profile A; 2 = Profile B.
The SUPI (Subscription Permanent Identifier) is the 5G subscriber identity — usually an IMSI (MCC + MNC + MSIN). To stop IMSI catchers, the UE never sends the SUPI in the clear: it sends a SUCI (Subscription Concealed Identifier), in which only the MSIN is encrypted with the home network's public key using ECIES.
The MCC/MNC and Routing Indicator stay in the clear so the visited network can route the SUCI to the right home network and AUSF/UDM, which then de-conceals it back to the SUPI using its private key. Routing Indicator (1–4 digits) is provisioned on the USIM and steers to a specific UDM/AUSF set.