Standard library / crypto/sha1
crypto/sha1.BlockSize
Input compression block size in bytes (64); not the digest size. Writes need not align to blocks. Cryptographically broken for collision resistance; use only for unavoidable legacy compatibility, never new signatures or adversarial integrity checks. Expected stdout: '64\n'.
Formal Syntax & Structure
go syntaxgo
const BlockSize = 64Working Example
Example Snippetgo
package main
import ( "crypto/sha1" "fmt")
func main() { fmt.Println(sha1.BlockSize) }