add MediaWiki password hash implementation