1.0.3 • Published 5 years ago
netcrc v1.0.3
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 BlindDragon2016@gmail.com