adjust key buffer length when using ToTraditional() or ToTraditionalEnc()