fix md5 hash length in syntax

This commit is contained in:
Kevin Baensch 2024-11-25 11:01:45 +01:00
parent f178b14e1a
commit 69ecfce9ff
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -6,7 +6,7 @@ from hashlib import md5
class MD5(object): class MD5(object):
NAME: str = "MD5" NAME: str = "MD5"
EXT: List[str] = [".md5"] EXT: List[str] = [".md5"]
SYNTAX: List[Pattern] = [compile(r"^;*$"), compile(r"^.* [0-9a-fA-F]{8}$")] SYNTAX: List[Pattern] = [compile(r"^;*$"), compile(r"^.* [0-9a-fA-F]{32}$")]
REGEX: Pattern = compile(r"[0-9a-fA-F]{32}") REGEX: Pattern = compile(r"[0-9a-fA-F]{32}")
NULL: str = "D41D8CD98F00B204E9800998ECF8427E" NULL: str = "D41D8CD98F00B204E9800998ECF8427E"