An E2EE encrypt algorithm using openssl