I am trying to make a calculator like https://cortexdetect.com/ns_wiegand_calculator/ but when I try to use another calculators like https://pripd.com/tools/cardCalculator.php or https://www.idcubesystems.com/card-calculator/
The hex value is different, is it another definition for hex that I am missing? I think they use some decoding with sha algorithm or utf-8?
Like this script gives me another value than the others websites:
function decimalToHexString(number)
{
if (number < 0)
{
number = 0xFFFFFFFF + number + 1;
}
return number.toString(16).toUpperCase();
}
Trying to learn and understand Wiegand 26 bit
Thank you
User contributions licensed under CC BY-SA 3.0