jedisct1 / libsodium.js

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

`crypto_core_ed25519_from_hash` missing in *-sumo variants #344

Closed Traderjoe95 closed 1 month ago

Traderjoe95 commented 1 month ago

Starting from version 0.7.13, the crypto_core_ed25519_from_hash function is missing in the *-sumo packages.

I confirmed that it is present up to version 0.7.11. All later versions give errors like crypto_core_ed25519_from_hash is not a function.

A quick search in the minified JS files revealed that while crypto_core_ed25519_from_uniform or crypto_core_ristretto255_from_hash can be found, the ..._ed25519_from_hash function is missing

Traderjoe95 commented 1 month ago

Okay, nevermind, I found that it was removed from Libsodium long time ago. I just assumed it had to be there, as the name is defined in the JS wrappers.