Determines whether a string has suspiciously high Shannon entropy, suggesting it may be a secret, key, or random token.
Arguments
- s
Character(1). The string to check.
- base64_threshold
Numeric(1). Entropy threshold for base64-like strings (default 4.5).
- hex_threshold
Numeric(1). Entropy threshold for hex-like strings (default 3.0).
- min_length
Integer(1). Minimum string length to consider (default 20). Shorter strings always return
FALSE.