Help with reading 'typespecs' for Erlang `crypto` module

But :crypto isn’t in the application list for this project. Maybe it’s in the Erlang/OTP package(s) we’re installing via asdf?

:crypto is a part of and is distributed with Erlang/OTP, so yes

Your error message says crypto 4.8.3 - the value you mention was added as a helpful alias to help with transitioning from the removed old API to the new crypto api in OTP 24.0 (in crypto 5.0).

What is your Erlang/OTP version? Make sure to browse the Erlang/OTP documentation for your version. And are you fixing errors or just warnings?

1 Like