Request sha256 and ripemd160 #1581
Answered
by
jxom
lity
asked this question in
Idea / Feature Request
-
In Solidity, there are built-in functions for sha256 and ripemd160. There are also corresponding utility functions in the ethers library. I have switched to Viem from Ethers, when I need sha256, where is it? |
Beta Was this translation helpful? Give feedback.
Answered by
jxom
Dec 14, 2023
Replies: 1 comment 5 replies
-
Use @noble/hashes: https://github.com/paulmillr/noble-hashes |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#1589