View Source ecies_bitcore (ecies v1.1.0)

This module provides specific params defaults and overrides compatible with Bitcore ECIES implementation.

Summary

Functions

Default params compatible with bitcore ECIES implementation.

Functions

-spec default_params() -> ecies:ecies_params().

Default params compatible with bitcore ECIES implementation.

Using secp256k1 elliptic curve, HMAC SHA-256 with 256 bits output authentication tag using AES-128 256 encryption and embedded IV in cipher data. Additionally it provides callbacks for bitcore specific keys and IV derivation functions.
-spec params(Params :: map()) -> ecies:ecies_params().

Equivalent to maps:merge(default_params(), Params).

Utility function for overriding default bitcore compatible params