add hexa input mode and fix RCD decipher