@hackage / roc-id

Implementation of the ROC (Taiwan) Uniform ID Number format.

Version Deprecated package0.4.0.0

About

Metadata

  • Last updated , by JonathanKnowles
  • License BSD-3-Clause
  • Maintained by: mail@jonathanknowles.net

  • Lottery factor: 1

Links

Installation

This package has been deprecated in favour of

Readme

This package provides an implementation of the ROC (Taiwan) Uniform Identification Number (中華民國統一證號) format.

This format is used by both National Identification Cards (國民身分證) and Alien Resident Certificates (居留證). Each identification number consists of a single uppercase letter followed by nine decimal digits, with the final digit serving as a checksum, calculated according to a standard algorithm.

Example: A123456789

This package offers functions for validating, decoding, and encoding these numbers.

See the ROC.ID module to get started.

For more details of the Uniform Identification Number format, see: