redact

fun redact(message: String): String

Returns message with any token/password/secret/bearer values and phone numbers masked.