Author Topic: [PHP] memo decryption script  (Read 2611 times)

0 Members and 1 Guest are viewing this topic.

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Aes with ecdh
Isnt that what the encrypted private keys in bitcoin use?... Its based on encrypting the private key based on a phrase..

Ecdh is a secure key exchange algo, Secure key exchange algorithms are used to exchange our keys securely via a non secure channel.

ECIES is an Integrated Encryption scheme, it.is a hybrid encryption scheme which provides semantic security against chosen plain text and chosen cipher text attacks.

For memos you would use ecies not  ecdh if you using existing keypairs from bts

If you need to prove the sender sent the message use ecdsa for this
« Last Edit: October 25, 2015, 05:16:01 am by jsidhu »
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline sittingduck

  • Sr. Member
  • ****
  • Posts: 246
    • View Profile

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
What is the memo encrypted with? can you not use your pvt key to decrypt? ecies uses sep256k1 for asymmetric key encryption
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline JA

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
I need a php script to decrypt memos with a private memo key. (if thats even possible)
I am way too noobie to do it myself.


https://github.com/xeroc/python-graphenelib/blob/master/docs/memo.rst
here is a python script from xerocs python graphenelib.
https://github.com/xeroc/python-graphenelib/blob/master/graphenebase/memo.py

Feel free to send me a offer via pm.