Skip to main content

Post-validators

EntropyPostValidator​

Calculates the Shannon entropy of the match string If the entropy is greater than the threshold, the match is valid

type (required)​

Type: string

Must be set to EntropyPostValidator.

entropy (required)​

Type: number

Minimum: 1.0

The minimum value of entropy that the match must have to be accepted. A value of 3 would be good for short matches (less than 20 characters).