Skip to main content

luhn_check_digit

Function luhn_check_digit 

Source
fn luhn_check_digit(payload: &[u8]) -> u32
Expand description

Computes the Luhn check digit for the ASCII digits in payload.