add stats for number of valid hex digits

helps diagnosing a CBC-encrypted stream with an error in just one block