Add removing duplicated letters if the private key is too long