Wiegand 24 bit Calculator online

0

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

javascript
utf-8
wiegand
asked on Stack Overflow Nov 11, 2020 by antymanty

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0