def b64.same
import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooksimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
108def b64.same(+s: String, r: Bytes.Bytes & Bytes.Bytes) -> Maybe<&1, Bytes.Bytes>:
109 (b, c) = r
110 Bool.pick(Maybe<&1, Bytes.Bytes>, String.eq(Bytes.to_base64(c), s), Some{b}, None{})