Standard library / crypto/sha512

crypto/sha512.Size224

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

Formal Syntax & Structure

go syntaxgo
const Size224 = 28

Working Example

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