Encryption in elixir

Thanks, my solution in elixir
"echo 'hello' | gpg --recipient-file publickey.asc --encrypt --armor" |> String.to_charlist |> :os.cmd