For the love of God, whatever you do, don’t shoehorn in longer card bit lengths into the 24 or 26 bit length weigand card data format… typically that means you just truncate additional bits from the card ID.
In my opinion, the 1970s era weigand format in general needs to die painful death. That said, if anybody writing anything having to do with weigand wishes to ignore any technologies that came out after 1980, at the very least they should ignore the leading bits. Unfortunately, pretty much every implementation I’ve ever seen will simply accept the first 24 or 26 bits and then ignore the rest. Brilliantly, this means if I produce a set of cards or fobs from a serialized waiver, the entire wafer is going to have the same identical leading 24 or 26 bits… therefore any card from that wafer which is added to an authentication list will result in the entire wafer full of cards or fobs being recognized as authenticated.
Can we just kill weigand please? A lot of people think that if they had a time machine they would go back and do something about hitler, but I’m seriously considering this weigand guy as a firm option.