Adding support for SSHA, SSHA256 and SSHA512 (Issue #1881)

This commit is contained in:
Miroslav Stampar
2017-10-20 13:32:40 +02:00
parent 311444a4ac
commit 7c874350d2
2 changed files with 79 additions and 37 deletions

View File

@@ -133,6 +133,9 @@ class HASH:
APACHE_SHA1 = r'\A\{SHA\}[a-zA-Z0-9+/]+={0,2}\Z'
VBULLETIN = r'\A[0-9a-fA-F]{32}:.{30}\Z'
VBULLETIN_OLD = r'\A[0-9a-fA-F]{32}:.{3}\Z'
SSHA = r'\A\{SSHA\}[a-zA-Z0-9+/]+={0,2}\Z'
SSHA256 = r'\A\{SSHA256\}[a-zA-Z0-9+/]+={0,2}\Z'
SSHA512 = r'\A\{SSHA512\}[a-zA-Z0-9+/]+={0,2}\Z'
# Reference: http://www.zytrax.com/tech/web/mobile_ids.html
class MOBILES: