def mask

bend-collections-laws-crypto@1.0.0.0 · src/crypto/poly1305/poly1305.bend:12

import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/poly1305.bend as Poly1305
import Base

12def mask(xs: List<&2, U32>) -> List<&2, U32>:
13  match xs:
14    case Nil{}: Nil{}
15    case x <> t: U32.and(x, 255) <> mask(t)

Uses (3)

Used by (8)