def signature
import bend-kit-sigv4@0.11.0.1/sigv4.bend as Sigv4import Base
321# The hex signature of a canonical request.
322def signature(+secret: String, +date: String, +region: String, +service: String, +creq: String) -> IO(Result<&1, &1, U32 & String, String>):
323 do IO<Result<&1, &1, U32 & String, String>>:
324 h : Result<&1, &1, U32 & String, String> <- sha(creq)
325 signature.of(h, secret, date, region, service)