Standard library / crypto/sha512
crypto/sha512.Size
Digest length in bytes (64) for the SHA512 algorithm. A digest alone does not authenticate data; use HMAC or a signature where appropriate. Not a password hashing scheme. Expected stdout: '64\n'.
Formal Syntax & Structure
go syntaxgo
const Size = 64Working Example
Example Snippetgo
package main
import ( "crypto/sha512" "fmt")
func main() { fmt.Println(sha512.Size) }