Standard library / crypto/md5

crypto/md5.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 = 64

Working Example

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