Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getUniqueTokenName uses sha3 calculation that is "unrecognized" #363

Open
mpetruska opened this issue Oct 11, 2024 · 1 comment
Open

getUniqueTokenName uses sha3 calculation that is "unrecognized" #363

mpetruska opened this issue Oct 11, 2024 · 1 comment

Comments

@mpetruska
Copy link

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

@solidsnakedev
Copy link
Contributor

solidsnakedev commented Oct 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants