Anastasia-Labs / lucid-evolution

https://anastasia-labs.github.io/lucid-evolution/
45 stars 20 forks source link

getUniqueTokenName uses sha3 calculation that is "unrecognized" #363

Open mpetruska opened 1 month ago

mpetruska commented 1 month ago

In a discussion with @SuganyaAK, the function getUniqueTokenName uses crypto.subtle.digest("SHA3-256", data), which results in an "unrecognized algorithm name" error.

solidsnakedev commented 1 month ago

don't use crypto , use https://github.com/paulmillr/noble-hashes instead