Standard library / crypto/sha256

crypto/sha256.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/sha256"  "fmt")
func main() { fmt.Println(sha256.Size224) }
Go Reference