The mapping of characters to code-points and back can be implemented in a number of ways. The simplest approach (akin to the original Luhn algorithm) is to use ASCII code arithmetic.
Character-to-codepoint mapping can be accomplished through various techniques. One approach, analogous to the original Luhn algorithm, is to utilize ASCII code arithmetic.