This file contains 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
I am attesting that this GitHub handle roppa is linked to the Tezos account tz1iC7UNquWbwf24kW3sGdVtYCNE5EzmTSkT for tzprofiles |
This file contains 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
package crypto | |
import ( | |
"crypto/sha256" | |
) | |
// NewSHA256 ... | |
func NewSHA256(data []byte) []byte { | |
hash := sha256.Sum256(data) | |
return hash[:] |
OlderNewer