User's Guide
Reference Manual
Release Notes
PDF
Top

crypto
Reference Manual
Version 3.0

Expand All
Contract All

Table of Contents

- crypto (App)
- crypto
  - Top of manual page
  - block_encrypt/4
  - block_decrypt/4
  - bytes_to_integer/1
  - compute_key/4
  - exor/2
  - generate_key/2
  - generate_key/3
  - hash/2
  - hash_init/1
  - hash_update/2
  - hash_final/1
  - hmac/3
  - hmac/4
  - hmac_init/2
  - hmac_update/2
  - hmac_final/1
  - hmac_final_n/2
  - info_lib/0
  - mod_pow/3
  - next_iv/2
  - next_iv/3
  - private_decrypt/4
  - private_encrypt/4
  - public_decrypt/4
  - public_encrypt/4
  - rand_bytes/1
  - rand_uniform/2
  - sign/4
  - start/0
  - stop/0
  - strong_rand_bytes/1
  - stream_init/2
  - stream_init/3
  - stream_encrypt/2
  - stream_decrypt/2
  - supports/0
  - verify/5

# crypto

### APPLICATION

crypto

### APPLICATION SUMMARY

The Crypto Application

### DESCRIPTION

The purpose of the Crypto application is to provide an Erlang API to cryptographic functions, see crypto(3). Note that the API is on a fairly low level and there are some corresponding API functions available in public_key(3), on a higher abstraction level, that uses the crypto application in its implementation.

### DEPENDENCIES

The current crypto implementation uses nifs to interface OpenSSLs crypto library and requires OpenSSL package version 0.9.8 or higher.

Source releases of OpenSSL can be downloaded from the OpenSSL project home page, or mirror sites listed there.

### SEE ALSO

application(3)