sensitive

package
v0.19.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package sensitive owns the closed, pure credential-shape matchers shared by validation and read-model redaction. It reports shapes only; callers own the policy decision, error code, or presentation replacement.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsContent

func ContainsContent(value string) bool

ContainsContent reports whether bounded arbitrary text contains one of the canonical credential shapes. It performs no decoding or entropy guessing.

func Identifier

func Identifier(value string) bool

Identifier reports whether a bounded opaque identifier is credential-like. Identifiers additionally reject short closed prefixes that would be too noisy in arbitrary prose.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL