For Base32 Crockford, the current operative experience is to append the check symbol (if declared in the config) and reset the hyphenInterval counter whenever doFinalProtected is invoked. This could occur when someone invokes flush, such that the output would then be something like 91JP-RV3F-41*BPYW-KCCG-GG*.
By adding to the config a setting to only apply the check byte and reset the hyphen counter when doFinal is invoked, the final output of the combined input would then be (if desired) 91JP-RV3F-41BP-YWKC-CGGG-*
For Base32 Crockford, the current operative experience is to append the check symbol (if declared in the config) and reset the
hyphenInterval
counter wheneverdoFinalProtected
is invoked. This could occur when someone invokesflush
, such that the output would then be something like91JP-RV3F-41*BPYW-KCCG-GG*
.By adding to the config a setting to only apply the check byte and reset the hyphen counter when
doFinal
is invoked, the final output of the combined input would then be (if desired)91JP-RV3F-41BP-YWKC-CGGG-*