Scram.hmac: def of bend-kit-postgres@0.3.0.0 Import: import bend-kit-postgres@0.3.0.0/scram.bend as Scram Lines 148-151 of bend-kit-postgres@0.3.0.0/scram.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-postgres@0.3.0.0/scram.bend&start_line=148&end_line=151 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes def hmac(+key: String, +data: String) -> IO(Result<&1, &1, U32 & String, String>): do IO>: r : Result<&1, &1, U32 & String, U32 & Array> <- hmac.of(Bytes.from_string(key), Bytes.from_string(data)) return octets(r) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=from_string https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/scram.bend&name=hmac.of https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/scram.bend&name=octets