【问题标题】:using Ethereum private key to encrypt string使用以太坊私钥加密字符串
【发布时间】:2017-03-07 11:51:23
【问题描述】:

我需要在以太坊专用网络上使用我的以太坊帐户的私钥加密字符串。

如何使用 web3js 做到这一点?

注意:我使用的以太坊客户端是 Geth。

【问题讨论】:

    标签: ethereum


    【解决方案1】:

    您可以在这里找到答案:https://ethereum.stackexchange.com/questions/3092/how-to-encrypt-a-message-with-the-public-key-of-an-ethereum-address

    单独使用 geth 我不认为这是可能的,但是使用 bitcore-libbitcore-ecies 是可能的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-31
      • 2015-11-02
      • 2013-06-08
      • 2022-10-22
      • 2023-04-07
      • 2011-06-17
      • 1970-01-01
      • 2018-07-01
      相关资源
      最近更新 更多