crypto(7) | Erlang Application Definition | crypto(7) |
crypto - The Crypto Application
The purpose of the Crypto application is to provide an Erlang API to cryptographic functions, see crypto(3erl). Note that the API is on a fairly low level and there are some corresponding API functions available in public_key(3erl), on a higher abstraction level, that uses the crypto application in its implementation.
The current crypto implementation uses nifs to interface OpenSSLs crypto library and may work with limited functionality with as old versions as OpenSSL 0.9.8c. FIPS mode support requires at least version 1.0.1 and a FIPS capable OpenSSL installation. We recommend using a version that is officially supported by the OpenSSL project. API compatible backends like LibreSSL should also work.
The crypto app is tested daily with at least one version of each of the OpenSSL 1.0.1, 1.0.2, 1.1.0, 1.1.1 and 3.0. FIPS mode is also tested for 1.0.1 and 1.0.2.
Using OpenSSL 3.0 with Engines or in FIPS mode is not yet supported by the OTP/crypto app.
Source releases of OpenSSL can be downloaded from the OpenSSL project home page, or mirror sites listed there.
The following configuration parameters are defined for the crypto application. See app(3erl) for more information about configuration parameters.
crypto 5.1.2 | Ericsson AB |