Security oriented helper functions for Elixir