API Reference RedactEx v0.1.3
modules
Modules
RedactEx provides protocols and derivatoin utilities to work with sensitive data that should be redacted in logs and external facing tools
Dispatcher of supported algorithms
Behaviour to implement for an algorithm to be configured as a redacting algorithm when using RedactEx
Simple redacting algorithm that will keep the initial and last parts of a string and substitutes the remaining part with given character
Simple redacting algorithm that will keep the initial part of a string and substitutes the remaining part with given character
Configuration helpers for handling RedactEx configuration
Context for generating a redacting function
Redactable
Protocol for defining a redact-able item, e.g. an item whose internal elements could be redacted It shall return a redact-ed item of the same type as the input item
RedactEx
Utility that defines a set of functions to fast-redact data where possible, e.g. when you already know the length of the string you're gonna have as validated input Redacting is unidirectional and is meant to help the safety of logs and exported data