A review about public cryptography protocols based on RSA or elliptic curves