protected static char calcChecksumChar ( @ Nonnull final String sMsg , @ Nonnegative final int nLength ) { ValueEnforcer . notNull ( sMsg , "Msg" ) ; ValueEnforcer . isBetweenInclusive ( nLength , "Length" , 0 , sMsg . length ( ) ) ; return asChar ( calcChecksum ( sMsg . toCharArray ( ) , nLength ) ) ; }
Calculates the check character for a given message