update crypto module usage
update use only newer erlang versions