def mac.of

bend-kit-webhooks@0.11.0.1 · webhooks.bend:159

import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

159def mac.of(r: Result<&1, &1, U32 & String, U32 & Array<U32>>) -> Result<&1, &1, Err, Bytes.Bytes>:
160  match r:
161    case Fail{(c, w)}:
162      Fail{CryptoErr{c, w}}
163    case Done{(n, b)}:
164      Done{Bytes.Bytes{n, b}}

Uses (8)

Used by (1)