Elixir Version of Javas Encrypted Class Files? -> Securing Elixir Code

The module would be created then encrypted and the original deleted, the module would not be stored anywhere in an unencrypted format, but I can dismiss this idea if you think it doesn’t make sense, because as you stated key storage is a problem.
Would you suggest a different method of keeping my elixir encryption method secret in case of a dump?