ntrepid8 / ex_crypto

Wrapper around the Erlang crypto module for Elixir.
MIT License
144 stars 48 forks source link

Better errors and bang methods #6

Closed bglusman closed 7 years ago

bglusman commented 7 years ago

@ntrepid8 this also isn't quite done but this is about what I'm picturing for new helpful error on what bit me, and ! methods to emulate ruby behavior and just take bits as long as iv and key are long enough... more test failures here, though some may be where you're expecting one error and now get a new one. Still need to add the decrypt! methods, but it's late now.

bglusman commented 7 years ago

Closing as premature/different than planned solutions