Canonical guidance

Use when

Avoid

Preferred pattern

type Digest [32]byte

Anti-pattern

Explanation: This is tempting because the syntax is simple, but it can copy far more data than intended and make APIs awkward to use.

Why

Related pages

Sources