Porting node.js encryption function to Elixir

The more I learn crypto, the more there is to learn :frowning: I know it is true for most domains but in that case it is almost overwhelming.