mirror of
https://github.com/lampaa/CRC16-CRC16-CCIT-CRC32.git
synced 2026-08-12 20:31:49 +08:00
Update crc16.js
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* Calculate CRC16 checksum
|
||||
* Code ported to JavaScript from Java
|
||||
*
|
||||
* Oryginal source:
|
||||
* Original source:
|
||||
* http://introcs.cs.princeton.edu/java/51data/CRC16.java.html
|
||||
* CRC16-CCIT for 123456789 = 29b1
|
||||
*
|
||||
@@ -55,4 +55,4 @@ function crc16(charach) {
|
||||
}
|
||||
|
||||
return crc.toString(16);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user