commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: [VALIDATOR] CheckDigit implementation for German identity cards?
Date Thu, 05 May 2016 19:46:24 GMT
Benedikt Ritter <britter@apache.org> schrieb am Di., 3. Mai 2016 um
22:49 Uhr:

> Hello,
>
> I have the need for a validator implementation that can check German
> identity card numbers. It's pretty simple to implement something like this
> using ModulusCheckDigit. Now I'm wondering whether this would be a good
> addition for [validator]. It is specific to German identity cards, but
> maybe we could start an idcard package which contains routine for different
> country identity cards.
>
> If this doesn't belong into [validator] I'll probably publish it via my
> github account :-)
>

A CheckDigit implementation for German identity card numbers would look
like this: https://gist.github.com/britter/ff959c42cab142a828247ce0673f6215


>
> Best regards,
> Benedikt
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message