Skip to contents

Returns opt-in local recognizers for payment-card numbers (Luhn), IBANs (mod-97), and IPv4 addresses. These are deterministic signals and should be evaluated on application-specific benign and sensitive text.

Usage

native_recognizers(
  include = c("credit_card", "iban", "ipv4"),
  show_stats = FALSE
)

Arguments

include

Any of "credit_card", "iban", and "ipv4".

show_stats

Show construction time and available usage metrics.

Value

A list of shieldr_recognizer objects.

Examples

scanners <- scanner_options(recognizers = native_recognizers())