fix md5 hash length in syntax
This commit is contained in:
parent
f178b14e1a
commit
69ecfce9ff
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue