The Anatomy of an RSA ID Number

Every South African citizen or resident is issued with a 13 digit ID number in the format YYMMDD GSSS CAZ, where:

  • YYMMDD is the date of birth. Note this means that a person born on 1 Jan 1900 and 1 Jan 2000 will have the same first 6 digits (000101);
  • G indicates gender, where females are assigned sequential numbers in the range 0-4 and males from 5-9;
  • SSS is a sequence number of the birth registered on that birth date;
  • C indicates citizenship, where 0 is a SA citizen, and 1 is a permanent resident (only citizens can vote);
  • A is usually an 8 (could also be a 9 according to DHA [1]). Prior to 1986 [2] this number was used to indicate the holder’s race;
  • Z is a checksum digit.

The checksum digit (Z) is calculated using the Luhn algorithm :
A = The sum of the odd-positioned digits (positions 1,3,5,7,9,11 and excluding 13/Z)
B = The concatenation of the even-positioned digits (positions 2,4,6,8,10,12)
C = The sum of the digits in the result of B x 2
D = A + C
Z = 10 – (D mod 10) [3]

Thus, for a theoretical ID number of a South African Resident female born on 22 November 2000, with ID number 001122 3344 182, the calculation of the check bit in red is as follows:

A = 0 + 1 + 2 + 3 + 4 + 1 = 11
B = 012348
C = 012348 x 2 = 24696
C = 2 + 4 + 6 + 9 + 6 = 27
D = 11 + 27 = 38
Z = 10 - (38 % 10) = 10 - 8 = 2

Note also, that the fictitious ID number 001122 3344 182 is valid for a birth date of 22 November 1900 as well as 22 November 2000.

An excellent spreadsheet by Robert MacLean which implements this check for your reuse is available from here.

And that’s that.

1. Note in the new ID books a note on this bit says, “Usually 8. If yours is a 9 please ensure that you have a letter confirming authentication of your ID documents from Home Affairs.”

2. Identification Act No 72 of 1986 repealed the 1952 Blacks (Abolition of Passes and Co-ordination of Documents) Act and large portions of the 1950 Population Registration Act. Identity numbers would no longer reflect a person’s race group in terms of the 1950 Population Registration Act or any other law. Influx control regulations were lifted and passes were to be replaced by a uniform identity document for all population groups.

3. The mod or Modulo operator as used here effectively returns the rightmost digit of the number on the left. If the result of the mod operation is a 0, then Z turns out to be 10 – 0 = 10. In this instance the the resulting check bit is 0.

NOTE: To validate South African ID number using Javascript, try this.

SA Open Source Solutions Provider Speaking at INDIASOFT and Exhibiting at CeBIT, Germany

PRESS RELEASE: “SA Open Source Solutions Provider Speaking at INDIASOFT and Exhibiting at CeBIT, Germany”, 3 February, 2009

SA Open Source Solutions Provider Speaking at INDIASOFT and Exhibiting at CeBIT, Germany 

Durban based Open Source Solutions Provider, THUSA, has been invited to attend and speak at the INDIASOFT trade show to be held in Kolkata, India in late February 2009.  THUSA MD, Warwick Chapman, will be speaking to the Indian software development community about the opportunities available to them on the continent of Africa and in South Africa especially.

A week after INDIASOFT, THUSA will be exhibiting at the world’s largest technology trade show, CeBIT, which is held in Hannover, Germany every year.  THUSA will be participating in the National Pavilion display sponsored by the South African Department of Trade and Industry and will be exhibiting its Vulani server product.

Of their participation in the two events, Chapman says “We are receiving support from both the Indian High Commission and the dti to make the two events a reality for our small business.  Hopefully we can show both the Indian and greater international IT community that our wholly South African developed product can provide a compelling cost-effective and OSS-enabling alternative the big brands which dominate the market space.”

THUSA primarily develops the OSS-based server product called Vulani (“Open Up” in isiZulu) which is due to be launched in South Africa during April 2009 after over 3 years of active development and 5 years of Research & Development.

Vulani aims to bridge the gap between the opportunities to lower cost and improve openness provided by Open Source Software, and the complexity of deploying, maintaining and monitoring Open Source Systems.

Chapman says “Vulani lowers server software and maintenance costs for small businesses and developing nations significantly by providing a layer of consistent, reliable and simple to use management software atop the many complex Open Source Systems which are used to make up the many OSS-based solutions available today.  Vulani’s strength is in lowering the skills requirement for organisations to sustainably benefit from the many advantages of using OSS-based solutions.”

Vulani installations are already in use in other Southern African countries with servers installed in Zambia, Malawi and Rwanda.  The Malawian branch of the Management Sciences for Health, based in Boston and employing 7000 people worldwide, runs a Vulani server to provide a stack of solutions ranging from firewalls and email services through to filesharing and backup on a single Vulani server for over 100 users.  Roger Day, the service provider who selected Vulani for the site, says he chose the product for MSH because “of the versatility and flexibility of the system and the ease with which it can be supported remotely.”

Vulani pricing, while not yet finalised, is expected to be significantly lower than existing solutions and will also include no per user licensing at all.

 

About THUSA

THUSA was established in 2002 and has grown from a technical services business to include several focus areas including software development and OSS solutions. THUSA’s primary development focus is the OSS-based Vulani server product due for release in South Africa in February 2009.

More information can be found at thusa.co.za

 

About Vulani

Vulani has been developed taking into account our collective experience as a Microsoft Partner, in networking consulting and in Open Source Software systems and development. Vulani provides a safe and sustainable solution to utilising Open Source Software solutions in any enterprise – drastically lowering TCO and simplifying management.

Vulani’s features provide everything you need to manage your company’s IT infrastructure inexpensively and efficiently. There are no client licenses, so expandability is easy and affordable, offering room to grow and expand without needing expensive upgrades.

Vulani’s intuitive interface allows easy, permissions-managed user access to your IT systems. It is now possible to maintain a complex infrastructure without expensive external companies.  An advanced reporting system provides full access to your organisation’s system usage, allowing you to access bandwidth figures, email statistics and network traffic which provides an unparalleled view of how your infrastructure operates.

Vulani takes the best of open source network management software and unifies it in a solid communications and networking platform; stable, well-tested and industry proven.

Vulani development is partly supported by a grant from the SPII Fund of the dti.

More information can be found at vulani.co.za

 

About CeBIT

CeBIT is the world’s largest computer expo. It is held each spring on the world’s largest fairground in Hannover, Germany, and is a barometer of the state of the art in information technology.  By 2008, the CeBIT expo attendance was at 495,000 and was held from 4 March to 9 March 2008. The 2009 expo dates are 3 March to 8 March 2009. The CeBIT 2009 event will be organized by Deutsche Messe AG and is expected to surpass the previous year’s success. (Source: Wikipedia)

More information can be found at cebit.de

 

About INDIASOFT 2009

INDIASOFT 2009 opens a plethora of opportunities for Exhibitors as well as IT Buyers globally looking for innovative outsourcing IT services & solutions including KPO, BPO, LPO, Banking, Finance, Insurance, Telecommunications, Media & Entertainment, Bio Informatics, Engineering Design, Travel, Hotel, Hospitality, Logistics, Transportation, Educational, Pharma, eGovernance, and much more under one roof.

There will be around 100 Indian IT Tier II and III companies displaying a world of IT innovations and around 200 IT buyers from 50 countries for business networking. Visit INDIASOFT 2009 for the growth of your enterprise. (Source: indiasoft2009.com)

More information can be found at indiasoft2009.com