Wrote a quick piece of code to strip out the bits that aren't part of p21 files. That way hashes ignore anything not technically part of the code.
Updated STEPAuth.bat to use STEPStrip. Signing is now completely within the bounds of the p21 alphabet.