replaced erlsha2 dependency with OTP crypto