secret-scanning-custom-patterns icon indicating copy to clipboard operation
secret-scanning-custom-patterns copied to clipboard

MD Family of Patterns

Open GeekMasher opened this issue 2 years ago • 2 comments
trafficstars

Name / Description

Message-Digest family of hash functions, in the hex-digits output format

Sample Snippets

  • https://emn178.github.io/online-tools/md2.html

True Positives

# MD2
dd34716876364a02d0195e2fb9ae2d1b

# MD4
db346d691d7acc4dc2625db19f9e3f52

# MD5
098f6bcd4621d373cade4e832627b4f6

Any differences between these?

False Positives

[snippet]

[optional] Propose Solution

[suggestion]

GeekMasher avatar Dec 12 '22 15:12 GeekMasher

There's no way to distinguish different 'MD' patterns based on their hex pattern

aegilops avatar Feb 15 '23 15:02 aegilops

A regex for these is:

[A-Fa-f0-9]{32}

with a before pattern of \A|[^A-Fa-f0-9] and an after pattern of \z|[^A-Fa-f0-9]

aegilops avatar Feb 15 '23 15:02 aegilops