'The sid and secret are concatenated to calculate sha1 hex digest.'

def test_basic(self):

    hash = xmlstream.hashPassword(u'12345', u'secret')
    self.assertEqual('99567ee91b2c7cabf607f10cb9f4a3634fa820e0', hash)
