Created
November 6, 2018 23:35
-
-
Save worldofprasanna/517f8c5b80bfced7f0a497da8afccf0e to your computer and use it in GitHub Desktop.
Hashing technique
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
input := "Hello World" | |
sha512Instance := sha512.New() | |
sha512Instance.Write([]byte(input)) | |
fmt.Printf("sha512:\t\t%x\n", sha512Instance.Sum(nil)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment