py icon indicating copy to clipboard operation
py copied to clipboard

Consider an option to support Elligator as option

Open savely-krasovsky opened this issue 4 years ago • 3 comments

By using Elligator elliptic curve points became indistinguishable from random string. It's useful property in countries where government censorship evolves. It can be used pretty easily with Curve25519.

http://elligator.cr.yp.to/

savely-krasovsky avatar Aug 15 '19 21:08 savely-krasovsky

+-------------------------------+----------+----------+-----------------+
| 65 Bytes                      | 16 Bytes | 16 Bytes | == data size    |
+-------------------------------+----------+----------+-----------------+
| sender_pk (elligator)         | nonce    | tag      | encrypted_data  |
+-------------------------------+----------+----------+-----------------+

kigawas avatar Aug 16 '19 05:08 kigawas

def elligatorize(public_key: bytes, curve: Curve) -> bytes:
    pass

Need to implement it first

kigawas avatar Aug 16 '19 05:08 kigawas

https://fc14.ifca.ai/papers/fc14_submission_25.pdf

looks like fancier than elligator :)

kigawas avatar Sep 09 '19 07:09 kigawas