pyca / pynacl

Python binding to the Networking and Cryptography (NaCl) library
https://pynacl.readthedocs.io/
Apache License 2.0
1.05k stars 228 forks source link

Feature/expose from uniform #792

Closed AnonimaUzanto closed 1 year ago

AnonimaUzanto commented 1 year ago

Exposed nacl.bindings.crypto_core_ed25519_from_uniform from the low-level ed25519 API. The function accepts 32 random bytes and produces a valid point in the ed25519 main subgroup.

Libsodium: crypto_core_ed25519_from_uniform documentation

Libsodium: crypto_core_ed25519_from_uniform testing logic

reaperhulk commented 1 year ago

793 has fixed the sphinx issue so you can rebase this now.

AnonimaUzanto commented 1 year ago

Rebased code and fixed flake issues.