Skip to content

Country pack

South Korea PII detection: Resident registration number

Updated 5 detectorsPack code kr

Short answer

Maskflare's South Korea pack has 5 detectors. 0 validate a check digit or letter, 3 test layout or an embedded date, 2 match on pattern alone.

What the South Korea pack covers

The South Korea pack holds 5 detectors: Bank account number, Phone number, Postal code, Resident registration number and Resident registration number, unformatted. None of them recompute a check digit, 3 test layout or an embedded date only, 2 are pattern-only, and 3 wait for a keyword before they match.

Examples are synthetic and were run through Maskflare's validators. Click a detector name for its own page where one exists.
DetectorCategoryValidationValid example
Bank account numberbank account number (IBAN)Pattern only110-123-456789
Phone numberphone numberLayout rules+82 2-1234-5678
Postal codepostal codePattern only03154
Resident registration numbernational ID numberLayout rules800101-1234567
Resident registration number, unformattednational ID numberLayout rules8001011234567

Every South Korea detector in detail

Bank account number

A bank account identifier. Validation: the pattern only, with no checksum or structural validator. It needs one of 7 keywords within 48 characters before the value, such as a/c, account no, account number, acct. Valid example: 110-123-456789.

Phone number

A telephone number in the national format. Validation: between 7 and 15 digits, the range an international number can have. Valid example: +82 2-1234-5678.

Postal code

A postal code, which identifies a place rather than a person on its own. Validation: the pattern only, with no checksum or structural validator. It needs one of 7 keywords within 48 characters before the value, such as post code, postal code, postcode, zip. Valid example: 03154.

Resident registration number

A national identity number. Validation: a valid birth date and a gender and century digit; no check digit is required. Valid example: 800101-1234567; the same shape that fails is 800100-1234567.

Resident registration number, unformatted

A national identity number. Validation: a valid birth date and a gender and century digit; no check digit is required. It needs one of 4 keywords within 48 characters before the value, such as resident registration, rrn, 주민등록번호, 주민번호. Valid example: 8001011234567; the same shape that fails is 8001001234567.

Local-language context words for South Korea

These are the words in the catalogue that confirm a value as belonging to this country's detector. Shared English words such as ID number or tax id are left out here because many packs use them; a word below points at this pack even when other packs are on.

  • Bank account number: a/c, acct, 계좌, 계좌번호
  • Postal code: 우편번호
  • Resident registration number, unformatted: resident registration, rrn, 주민등록번호, 주민번호

How Maskflare masks South Korea identifiers

Detections are replaced with a token such as mf_mask_d7e0 before the request goes to the AI provider, and with response restoration turned on the real value is put back in the answer. The other actions are redact, partial, hash, format-preserving encryption, generalize, alert and block.

  • Protect now, Finance - Protect now, Healthcare and Developer: mask (a reversible token) when South Korea is a primary country.
  • Monitor first: alert (counted, forwarded unchanged) when South Korea is a primary country.

None of the compliance profiles (HIPAA Safe Harbor, GDPR (EU/EEA), UK GDPR, PCI DSS v4.0, US PII (CCPA/CPRA) and Swiss nDSG health data) includes the South Korea pack. Its detectors run when South Korea is chosen as a primary country or the pack is enabled directly.

Limits worth knowing

  • A passing checksum shows that a value is well formed, not that it was issued to a real person. The examples on this page pass for that reason and are not real.
  • 2 of the 5 detectors here match on pattern alone (Bank account number and Postal code), so they can match text that merely has the same shape.
  • Detectors read the text of the request. A value inside an image is found only after OCR, and a value split across lines is not one match.
  • Names, addresses and free-text details are handled by other packs. This page is limited to the South Korea identifiers.

Frequently asked questions

What does Maskflare detect for South Korea?

5 detectors: Bank account number, Phone number, Postal code, Resident registration number and Resident registration number, unformatted.

Are South Korea identifiers masked by default?

They are masked when South Korea is chosen as a primary country (the default Protect now template uses the action mask), or when the pack is turned on directly. A country pack is not on for organisations that did not choose the country.

Which South Korea identifiers have a checksum?

None of the South Korea detectors recompute a check digit; they rely on layout, embedded dates, keywords or the pattern alone.

Do the South Korea detectors need keywords?

3 of them do: Bank account number, Postal code and Resident registration number, unformatted.

Rules on this page describe what Maskflare's detectors and validators check. They are read from the detection catalogue and are not the specification of the body that issues the identifier. Examples are synthetic.

Related pages

See it on your own data

Try Maskflare free.
Bring your hardest prompts.

28-day free trial or 10,000 requests, whichever comes first. Point one app at the gateway or enroll a few laptops,
and watch what gets masked. Or talk to us first.