---
title: "Discussion on \"Go Cheatsheet - Hash Function\" | Hashnode"
description: "Discussion on \"Go Cheatsheet - Hash Function\". Hash Function\nFrom Go's standard \"crypto\" library, we can easily calculate hash value with md5, sha1, sha256, sha512 function.\npackage main\n\nimport (\n    \"crypto/md5\"\n    \"crypto/sha1\"\n    \"crypto/sha256\"\n    \"crypto/sha512\"\n    \"encoding/hex\"\n    \"f..."
url: "https://hashnode.com/posts/go-cheatsheet-hash-function/60808e52c99e200d08f8382f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Go Cheatsheet - Hash Function](https://hn.0xbf.me/go-cheatsheet-hash-function?utm_source=hashnode&utm_medium=feed)

Hash Function From Go's standard "crypto" library, we can easily calculate hash value with md5, sha1, sha256, sha512 function. package main import ( "crypto/md5" "crypto/sha1" "crypto/sha256" "crypto/sha512" "encoding/hex" "f...

Apr 21, 2021 · 1 min read · hn.0xbf.me  
Updated May 7, 2021  
Read the article

-   [#go](https://hashnode.com/tag/go)

## Written by

[0xBF](https://hashnode.com/@0xbf)

@0xbf

  
[View profile](https://hashnode.com/@0xbf)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
