exth_crypto v0.1.6 ExthCrypto.ECIES.Parameters
Returns one set of the Standard ECIES parameters:
- ECIES using AES128 and HMAC-SHA-256-16
- ECIES using AES256 and HMAC-SHA-256-32
- ECIES using AES256 and HMAC-SHA-384-48
- ECIES using AES256 and HMAC-SHA-512-64
Link to this section Summary
Functions
Returns the block size of a given set of ECIES params
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-256 hash
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-256 hash
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-384 hash
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-512 hash
Returns the hash len of a given set of ECIES params
Link to this section Types
t() :: %ExthCrypto.ECIES.Parameters{ cipher: ExthCrypto.cipher(), hasher: ExthCrypto.hash_type(), key_len: integer(), mac: :crypto.hash_algorithms() }
Link to this section Functions
Returns the block size of a given set of ECIES params.
Examples
iex> ExthCrypto.ECIES.Parameters.block_size(ExthCrypto.ECIES.Parameters.ecies_aes256_sha512)
32
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-256 hash.
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-256 hash.
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-384 hash.
Returns curve parameters for ECIES with AES-256 symmetric encryption and SHA-512 hash.