Standard library / crypto/sha512

crypto/sha512.Size256

Digest length in bytes (32) for the 256-bit variant algorithm. A digest alone does not authenticate data; use HMAC or a signature where appropriate. Not a password hashing scheme. Expected stdout: '32\n'.

Formal Syntax & Structure

go syntaxgo
const Size256 = 32

Working Example

Example Snippetgo
package main
import (  "crypto/sha512"  "fmt")
func main() { fmt.Println(sha512.Size256) }
Go Reference