netcrc

1.0.3 • Public • Published

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

Package Sidebar

Install

npm i netcrc

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

4.61 kB

Total Files

3

Last publish

Collaborators

  • aminprm