Expand description
Israeli ID number validation.
Israeli ID (Mispar Zehut) is composed of digits for the value (currently eight) and then one digit that is the checksum (Sifrat Biqoret), which makes ID numbers self-validating.
You can validate an ID with valid_ascii
, and calculate a checksum digit with checksum_digit_ascii
.
Functionsยง
- checksum_
digit_ ascii - Calculates the checksum digit for the given ASCII ID, and returns it as an ASCII character.
- valid_
ascii - Validates the given ASCII ID number.