Campus ID News
Card, mobile credential, payment and security
FEATURED
PARTNERS
Magstripes 2 e1643136688746

Library number generation

Chris Corum   ||   Apr 01, 2002  ||   ,

The following process shows one method for generating library numbers from the student ID encoded on the mag stripe. In this case the institutions existing system utilizes a 14-digit barcode and the unique ID number encoded on the magnetic stripe of the card is a 16-digit ISO number. Other scenarios exist, but function in much the same way.

  1. The card is swiped through the magnetic stripe reader, and the 16-digit number is captured. Example - “1234 5678 9012 3456”
  2. In an ISO numbering scheme the first 6 digits identify the card issuer (e.g. the bank, the school) and are the same for all cardholders. The reader strips away these first six leaving 10 remaining digits that form a unique number that identifies only one cardholder. Example - “78 9012 3456”
  3. The reader adds a single digit that is the identifier used in the existing library system to denote a patron (rather than a book or resource) and places it in the first position. - Example “2”
  4. Next, the reader adds a 2 digit code that is the identifier used in the existing system to denote the specific library location. Example - “09”
  5. Now we have created a 13-digit number. The final step is for the reader to perform a mathematical calculation using the previous 13 digits. This calculation, called a mod ten check digit calculation, creates a final digit to append to the end of the number. Example - “0”
  6. The pieces are put together to form a 14 digit ID number that provides the same meaningful data to the system as was previously supplied by the barcode. Example - “2 09 78 9012 3456 0”

The system had been geared to accept a 14 digit number read from the barcode. In this new model, the mag stripe and reader provide a unique 14 digit number. The actual library numbers have changed (and will require that the new numbers replace the old numbers in the library database), but the form is the same so the existing system requires no software alteration. Voila!

For more details on this process, see Using your card for patron ID.

Subscribe to our weekly newsletter

RECENT ARTICLES

MyVenue POS with Illumia mobile credential on phone
Feb 26, 26 /

Transact + CBORD partners with MyVenue to extend stored value to campus stadiums

Transact + CBORD (rebranding to Illumia in March 2026) announced a new agreement with sports and entertainment point-of-sale (POS) provider MyVenue. The partnership allows students to use their campus card and stored-value campus funds for purchases inside stadiums and arenas. The integration adds MyVenue’s high-volume point-of-sale platform to Transact + CBORD’s campus commerce platform. Designed […]
ColorID receives HID's Elite Partner Status

ColorID recognized with HID Global’s highest level partner status

ColorID announced that it has achieved HID Elite Technology Partner status within the HID partner ecosystem. This designation recognizes them as one of a select group of partners demonstrating advanced technical expertise, strategic integration capabilities, and excellence in delivering solutions built on HID technology. The HID Origo Technology Partner Program is designed to foster collaboration with […]
Transact and Genea discuss their partnership for cloud-native access control in higher education
Feb 19, 26 /

Illumia and Genea partner to bring cloud-native access control to higher education

In this episode of CampusIDNews Chats, leaders from Transact + CBORD (rebranding to Illumia in March 2026), Genea, and Mercer University discuss a new partnership delivering cloud-native access control to higher education. The collaboration brings together Genea’s modern physical security solution and Illumia’s identity, credentialing, and commerce platform. Mercer is a key initial implementation of […]
CIDN logo reversed
The only publication dedicated to the use of campus cards, mobile credentials, identity and security technology in the education market. CampusIDNews – formerly CR80News – has served more than 6,500 subscribers for more than two decades.
Twitter

Great inverview on the Public Key Open Credential (PKOC) standard with ELATEC's Jason Ouellette, Chairman of the Board for the @PSIAlliance.

Attn: friends in the biometrics space. Nominations close Friday for the annual Women in Biometrics Awards. Take five minutes to recognize a colleague or even yourself. http://WomenInBiometrics.com

Load More...
Contact
CampusIDNews is published by AVISIAN Publishing
315 E. Georgia St.
Tallahassee, FL 32301
www.AVISIAN.com[email protected]
Use our contact form to submit tips, corrections, or questions to our team.
©2026 CampusIDNews. All rights reserved.