En/DecodeKeyID