RSA correct key format, hash public key