Thomas Stokkeland

RFID & HID Stuff - 26 bit standard


License: GNU General Public License version 3 (GPL v3) Click to view source

Copyright 2014 J T Stokkeland. Click to view license.

This came about first with the 33bit version of the same, just made this to have. Thanks to PageMac.com for the basic info on this stuff - it has proven very hard to find anything good and complete.


Facility Code 8bit (0 to 253):

Card Codes 16bit (0 to 65535) - one per line:

Results
(No Guarantee on this data being correct - use at you your own risk!)
'.((int) $c) .' : '. encode_26bit_standard($c,$faccode)."\n"; ?>

 

[ Code ]     © Jon Thomas Stokkeland   [ Home ]   [ Information Technology ]   [ Linked In ]

Facility code: $faccode $new8 (".strlen($new8).") ".decbin($cardcode)." Card code: $cardcode $new16 (".strlen($new16).") Hex code: $newhex Binary Data only: $s Binary done: $news Even Bin: $ebin $even ".substr_count($ebin,'1')." Odd Bin: $obin $odd ".substr_count($obin,'1')." "; } return $newhex; } // silly duct tape functions for the parity checks function bwpar_even($bin) { return ( substr_count($bin,'1') % 2 ); } function bwpar_odd($bin) { return ( (substr_count($bin,'1')+1) % 2 ); } ?>