implement ECIES according to http://memwallet.info/btcmssgs.html