Skip to content
crc-8 checksum generation in javascript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.md Create LICENSE.md May 27, 2013
README.md Create README.md May 27, 2013
crc8.js Create crc8.js May 27, 2013

README.md

crc8js

CRC-8 checksum generation in javascript

usage

  var sample_text = "Hi. I need a checksum."

  // convert sample text to array of bytes
  var byte_array = sample_text.split('').map(function(x){return x.charCodeAt(0)})

  var crc8 = new CRC8()
  
  var checksum = crc8.checksum(byte_array)
You can’t perform that action at this time.