Private key and encryption demo