Update crc16.js

This commit is contained in:
Лампуша
2018-06-29 11:50:16 +03:00
committed by GitHub
parent 3b5d004783
commit 3931dbed3d
+2 -2
View File
@@ -2,7 +2,7 @@
* Calculate CRC16 checksum * Calculate CRC16 checksum
* Code ported to JavaScript from Java * Code ported to JavaScript from Java
* *
* Oryginal source: * Original source:
* http://introcs.cs.princeton.edu/java/51data/CRC16.java.html * http://introcs.cs.princeton.edu/java/51data/CRC16.java.html
* CRC16-CCIT for 123456789 = 29b1 * CRC16-CCIT for 123456789 = 29b1
* *
@@ -55,4 +55,4 @@ function crc16(charach) {
} }
return crc.toString(16); return crc.toString(16);
} }