jedisct1 / libsodium.js

libsodium compiled to Webassembly and pure JavaScript, with convenient wrappers.
Other
969 stars 138 forks source link

Add crypto_core_ed25519 #260

Closed MichaelKim20 closed 3 years ago

MichaelKim20 commented 3 years ago

Would you mind if I add a few wrappers? I added the following wrappers. Please review it.

crypto_core_ed25519_add crypto_core_ed25519_from_hash crypto_core_ed25519_from_uniform crypto_core_ed25519_is_valid_point crypto_core_ed25519_random crypto_core_ed25519_scalar_add crypto_core_ed25519_scalar_complement crypto_core_ed25519_scalar_invert crypto_core_ed25519_scalar_mul crypto_core_ed25519_scalar_negate crypto_core_ed25519_scalar_random crypto_core_ed25519_scalar_reduce crypto_core_ed25519_scalar_sub crypto_core_ed25519_sub

MichaelKim20 commented 3 years ago

I compiled libsodium.js on my local computer. And I tested it. I checked that everything worked well.