Generating HKIDs are easy!
php code here.
function get_hkid_check_digit($n) {
for($q=0;$q<7;$q++) {
$x+=$n[$q]*(8-$q); }
$c=11 - $x % 11;
$c=($c==10)?"X":$c;
return $c; }
function check_hkid($id) {
$id=(ord($id[0])-64) % 11 . substr($id,1);
return (get_hkid_check_digit($id)==$id[7]); } Valid IDs
Here are some valid IDs that you may (or may not) use.
I481470(8), I481471(6), I481472(4), I481473(2), I481475(9), I481476(7), I481477(5), I481478(3), I481479(1), I481480(5), I481481(3), I481482(1), I481484(8), I481485(6), I481486(4), I481487(2), I481489(9), I481490(2), I481492(9), I481493(7), I481494(5), I481495(3), I481496(1), I481498(8), I481499(6), I481500(3), I481501(1), I481503(8), I481504(6), I481505(4), I481506(2), I481508(9), I481509(7), I481511(9), I481512(7), I481513(5), I481514(3), I481515(1), I481517(8), I481518(6), I481519(4), I481520(8), I481521(6), I481522(4), I481523(2), I481525(9), I481526(7), I481527(5), I481528(3), I481529(1),
(Refresh the page to see more, different IDs.)
Disclaimer: this page generates random IDs. In certain jurisdictions, it may be illegal to use these IDs on official documents.
