logoalt Hacker News

Mashimo • yesterday at 9:57 AM • 1 reply • view on HN

CPR number contains Age and Sex. It's date of birt DD MM YY. Plus four digits where you can read the sex from. I think it's even vs uneven numbers.


Replies

mrweasel • yesterday at 10:32 AM

It's honestly worse. DDMMYYY (the last Y is from a lookup table to know if it's 18YY, 19YY or 20YY). If a person is born before October 2007 you can even do a checksum using the last digits to verify that the number is "correct" (not necessarily in use). And yes, last digit is an even number for women, and uneven for men.

➕ show 1 reply