Skip to content

checksum1 ​

Computes a 1-character CRC-8 checksum of a string (base-36, uppercase).

Type: transform

Parameters ​

  • input (unknown): The input string to checksum.

Returns ​

Type: string

A single uppercase alphanumeric character, or undefined if input is not a string.

Examples ​

javascript
checksum1("DOC-001") // "H"
javascript
"CASE-2026-000184"|checksum1 // "F"

Released under the MIT License.