-1

How to reverse the output of crc.crc16ccitt to the original input. Used npm module named crc.

Package used: https://github.com/alexgorbatchev/crc

Method used: crc.crc16ccitt(inputString)

Easwaramoorthy Kanagaraj
  • 3,925
  • 8
  • 36
  • 62

1 Answers1

0

Unless the input is two bytes or less, you cannot reconstruct it from a two-byte CRC.

Mark Adler
  • 101,978
  • 13
  • 118
  • 158