We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75d7d7 commit 16a32f0Copy full SHA for 16a32f0
README.md
@@ -50,7 +50,7 @@ import CRC32 from '@hqtsm/crc/crc-32/iso-hdlc';
50
let crc = CRC32.init();
51
crc = CRC32.update(crc, new TextEncoder().encode('123456789'));
52
crc = CRC32.finalize(crc);
53
-console.log(crc.toString(16)); // cbf43926
+console.assert(crc.toString(16) === 'cbf43926');
54
```
55
56
## CRC-64/XZ
@@ -63,7 +63,7 @@ import CRC64 from '@hqtsm/crc/crc-64/xz';
63
let crc = CRC64.init();
64
crc = CRC64.update(crc, new TextEncoder().encode('123456789'));
65
crc = CRC64.finalize(crc);
66
-console.log(crc.toString(16)); // 995dc9bbdf1939fa
+console.assert(crc.toString(16) === '995dc9bbdf1939fa');
67
68
69
# Acknowledgements
0 commit comments