def verify

bend-kit-postgres@0.3.0.0 · scram.bend:261

import bend-kit-postgres@0.3.0.0/scram.bend as Scram
import Base

261# Done when the server-final-message proves the server knows the password, compared in constant time.
262def verify(st: Final, +msg: String) -> IO(Result<&1, &1, U32 & String, Unit>):
263  Final{+sig} = st
264  verify.of(sig, final.parts(String.split(msg, ',')))

Uses (11)

Used by (1)