encrypt/decrypt message function - lacking documentation/specs
firstoff, thanks for your hard work! i love it!
the encrypt/decrypt message function is quite nice and underrated.
i find nothing about it in the documentation except for command-line usage.
i could find out, that it is using ECIES with the bitcoin keypair.
is there an easy compatible web-based implementation of this?
this would be very useful
i found a ECIES web implementation ( https://web.archive.org/web/20160210174934/http://memwallet.info/btcmssgs.html ) but its encryption differs from Electrum's.
is there a html/js based ECIES encrypt/decrypt implementation similar to the link above, which is compatible with Electrum's encrypt/decrypt?
THANKS A LOT!
Hi. I don't know of any other compatible implementation.
If you are interested, in this repo, the relevant code is here: https://github.com/spesmilo/electrum/blob/1ef804c652991337dedfa3d8749eff2820549c52/electrum/ecc.py#L273-L290 https://github.com/spesmilo/electrum/blob/1ef804c652991337dedfa3d8749eff2820549c52/electrum/ecc.py#L415-L437