netcrc
v1.0.3
Published
CRC-32 implemented in JavaScript
Downloads
5
Readme
netcrc
CRC means 'Cyclic Redundancy Check' and is a way to checksum data.
Install
npm i netcrc -s
##Usage
const buffer = require('npm-netbuffer');
const checksum = require('netcrc');
let crc = new checksum();
let netBuffer = new buffer(4);
netBuffer.writeString("amin");
console.log( crc.crc32(netBuffer) );
#Author: Ali Jahandideh [email protected]