Standard library / crypto/sha256
crypto/sha256.BlockSize
Input compression block size in bytes (64); not the digest size. Writes need not align to blocks. 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 BlockSize = 64Working Example
Example Snippetgo
package main
import ( "crypto/sha256" "fmt")
func main() { fmt.Println(sha256.BlockSize) }