Is there any way to send a string from Elixir to PHP securely?(no SSL)
<p>I want to send a string from Elixir/Phoenix(Sever) to PHP(client) securely through URL query string(like: ?secure_string=xxxxx). The environments have no SSL,  but they can share a private key in advance. So I thought I can convey the string securely with encrypting, such as AES.</p>

<p>Since PHP has openssl_decrypt(), it can decrypt the string like following. Elixir(or Erlang?) could call openssl_encrypt, other than System.cmd("/usr/bin/openssl")? Is there any other(better) ways?</p>

<pre><code>$key = 'private_key_string_shared_both';
$algorithm = 'AES-128-ECB'
$decrypt = openssl_decrypt($encrypt_string, $algorithm, $key);
</code></pre>