GizStack
View .mdOpen in ChatGPTOpen in Claude

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.

gizlang
import * as Stringprep from "gizlang:stringprep";

Functions

saslPrep

gizlang
function saslPrep(passwordText: string): string

The SASLprep form of PASSWORD, or PASSWORD itself when preparation fails (as PostgreSQL does).

Effects: fail.