Expand description
Cryptographic UDF implementations.
Enums§
- Salt
Strength - Classification of a configured salt’s strength. Deliberately carries NO salt value — only the verdict class — so it is safe to log and to assert on in tests without exposing secret material.
Constants§
- MIN_
SALT_ LEN - Minimum acceptable salt length (in characters, after trimming) for the
sha2_saltedpseudonym to be considered safe.
Functions§
- make_
sha2_ salted_ udf sha2_salted(col, prefix_len)— one-way pseudonym generator for producing a hashed id to share with third parties.- salt_
strength - Pure, deterministic salt-strength classifier shared by the
sha2_saltedUDF and the startup warning. Returns a verdict class WITHOUT retaining or exposing the value. - warn_
if_ salt_ unusable - Emit a ONE-TIME startup warning if the configured salt is not usable.