Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is it possible to choose another SHA algorithm - say SHA256 - in Solidity? Anyone having issues with NIST compliance?
SHA256 is built in to Solidity, you use it the same way you call keccak, just
It is slightly more expensive than keccak, but if you need NIST compliant hashes, SHA256 is the way to go.
3 months ago