Sensitive[A: Stringable val]¶
Wraps a sensitive value so that printing it gives [REDACTED] and reading
the value takes a deliberate call.
Constructors¶
create¶
Parameters¶
- value: A
Returns¶
- Sensitive[A] val^
Public Functions¶
expose¶
The wrapped value. Every use of a sensitive value goes through this, so a
search for expose finds them all.
Returns¶
- A
string¶
"[REDACTED]", whatever the wrapped value is.
Returns¶
- String iso^