SkillAgentSearch skills...

Crc8js

crc-8 checksum generation in javascript

Install / Use

/learn @mode80/Crc8js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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)

Related Skills

View on GitHub
GitHub Stars23
CategoryDevelopment
Updated2y ago
Forks13

Languages

JavaScript

Security Score

60/100

Audited on Jan 17, 2024

No findings