Std.App.Secret
6 public declarations
- constantTimeEquals
&Std.App.Secret.Secret -> &Std.App.Secret.Secret -> BoolCompares two secrets in constant time to prevent side-channel timing attacks.
- redact
&Std.App.Secret.Secret -> StrReturns a redacted placeholder for safe inclusion in logs, traces, and errors.
- redactKey
&Std.App.Secret.Secret -> Int -> StrPartially masks a secret key for audit trails, revealing at most `visibleSuffix` characters.
- reveal
&Std.App.Secret.Secret -> StrUnveils the inner sensitive string for authorized operations.
- secret
Str -> Std.App.Secret.SecretWraps a plain string as a protected secret.
- Secret
A sensitive string wrapped in an opaque container to prevent accidental disclosure.
