You don't know how long the original string was. ENCODE always returns a 16 character long string of upper and lower case letters.
There are 52 to the power of 16 possible combinations, but an infinite (as near as dammit) number of original strings. Just because one matches doesn't mean it's the original.
In my example above, 14 MODULO 11 is 3, but iNum is not 14. If, however, all you want is a value to match the test result, 14 would be fine.