Skip to content

Instantly share code, notes, and snippets.

@worldofprasanna
Created November 6, 2018 23:35
Show Gist options
  • Save worldofprasanna/517f8c5b80bfced7f0a497da8afccf0e to your computer and use it in GitHub Desktop.
Save worldofprasanna/517f8c5b80bfced7f0a497da8afccf0e to your computer and use it in GitHub Desktop.
Hashing technique
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