Created
June 26, 2019 14:08
-
-
Save vrde/b2feeb02a5a906a7f60ee7e7523bda18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "hashes/sha256/512bitPacked.code" as sha256packed | |
def main(private field a, private field b, private field c, private field d, private field n) -> (field[2], field): | |
h = sha256packed([a, b, c, d]) | |
return h, n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment