Coverage · South Korea
South Korean RRN detection and redaction
OpenAnonymizer finds the South Korean RRN in text and replaces it with a placeholder. The number is confirmed by its official label and its check digits are verified. It runs on a CPU, with no GPU and no API calls.
At a glance
- Country
- South Korea KR
- Format
- RRN주민등록번호
- Placeholder
- Each distinct value gets its own number: KR_RRN_1, KR_RRN_2, and so on.
- How it is confirmed
- Official label and checksum
- Used for
- Identifying residents of South Korea. Foreign residents get a registration number built the same way.
About the RRN
The RRN is 13 digits, written YYMMDD-XXXXXXX. The seventh digit gives the century of birth and the sex, and the last is a check digit.
- In
- 주민등록번호: 800101-1234560
- Out
- 주민등록번호:
How OpenAnonymizer handles it
Checked by checksum. The format's check digits are verified, so most mistyped or made-up numbers fail. A number with the right label and shape is still masked when its checksum fails, so a typo doesn't let it through.
- It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
- Every package ships every detector, so this format is covered in each of them.
- It covers 34 languages.
Related formats
The same country, or the same kind of number elsewhere.