View Source ecies_electrum (ecies v1.1.0)

This module provides specific params defaults and overrides compatible with Electrum, Electron Cash, ElectrumSV and BitcoinSV ECIES implementation.

Summary

Functions

Default params compatible with electrum BIE1 ECIES implementation.

Functions

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

Default params compatible with electrum BIE1 ECIES implementation.

Using secp256k1 elliptic curve, HMAC SHA-256 with 256 bits output authentication tag using AES-128 CBC encryption and BIE1 message encapsulation. Additionally it provides callback for electrum specific keys and IV derivation function, and proper cipher data encoding.

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

Utility function for overriding default electrum compatible params