Add sha256 function #1327
Labels
VIP: Approved
VIP Approved
VIP: Discussion
Used to denote VIPs and more complex issues that are waiting discussion in a meeting
Simple Summary
Currently Vyper doesn't
Abstract
Add sha256 function, which hcalls
Motivation
Currently
sha256
precompile isn't exposed as a function, this VIP adds the functionality.Specification
This function will make a call to the pre-compile at address
0x000...0002
, and return the output as bytes.Backwards Compatibility
Feature, forwards compatible.
Dependencies
No dependencies.
Copyright
Copyright and related rights waived via CC0
The text was updated successfully, but these errors were encountered: