Standard library / crypto
crypto.SHA256
SHA-256 from crypto/sha256. This identifier provides metadata but does not itself link the algorithm. Check Available before New. Expected stdout: '32\n'.
Formal Syntax & Structure
go syntaxgo
const SHA256 Hash = 5Working Example
Example Snippetgo
package main
import ( "crypto" "fmt")
func main() { fmt.Println(crypto.SHA256.Size()) }