How to reverse the output of crc.crc16ccitt to the original input?

47 Views Asked by At

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)

1

There are 1 best solutions below

2
Mark Adler On

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