Browse Source

Documentatin of ECDH result (#49)

* Update README.rst

* Update README.rst

* Update README.rst
anonswap
Gabor Kiss-Vamosi 5 years ago
committed by Ofek Lev
parent
commit
568644e907
  1. 2
      README.rst

2
README.rst

@ -168,7 +168,7 @@ All instances have a ``public_key`` of type ``coincurve.PublicKey``
``ecdh(public_key)``
Computes a Diffie-Hellman secret in constant time. **Note:** This prevents malleability by returning
``sha256(x)`` instead of the ``x`` coordinate directly. See `<https://github.com/ofek/coincurve/issues/9>`_.
``sha256(compressed_public_key)`` instead of the ``x`` coordinate directly. See `<https://github.com/ofek/coincurve/issues/9>`_.
* Parameters:

Loading…
Cancel
Save