gizlang:stringprep
SASLprep (RFC 4013) as PostgreSQL 16 runs it on SCRAM passwords: the frozen Unicode 3.2 stringprep ranges of RFC 3454 and the SDK normalizer, including its normalization corrections.
import * as Stringprep from "gizlang:stringprep";Functions
saslPrep
function saslPrep(passwordText: string): stringThe SASLprep form of PASSWORD, or PASSWORD itself when preparation fails (as PostgreSQL does).
Effects: fail.