Algo : WoltLab BB3
#8
is that python snippet yours? If yes: who told you to use hexlify/unhexlify?

Code:
import hashlib import binascii # WBB3 scheme -> sha1($salt.sha1($salt.sha1($pass)) hash = "e2063f7c629d852302d3020599376016ff340399" salt = "0b053db07dc02bc6f6e24e00462f17e3c550afa9" password = "123456" m0 = hashlib.sha1() m0.update(password) m1 = hashlib.sha1() m1.update(salt) m1.update(binascii.hexlify(m0.digest())) m2 = hashlib.sha1() m2.update(salt) m2.update(binascii.hexlify(m1.digest())) print("Output:", binascii.hexlify(m2.digest())) print("Actual", hash)

>>> print("Output:", binascii.hexlify(m2.digest()))
('Output:', 'e2063f7c629d852302d3020599376016ff340399')
>>> print("Actual", hash)
('Actual', 'e2063f7c629d852302d3020599376016ff340399')


Messages In This Thread
Algo : WoltLab BB3 - by Xanadrel - 06-26-2010, 11:44 AM
RE: Algo : WoltLab BB3 - by atom - 06-26-2010, 02:52 PM
RE: Algo : WoltLab BB3 - by Xanadrel - 06-26-2010, 02:54 PM
RE: Algo : WoltLab BB3 - by halfie - 05-16-2012, 07:00 AM
RE: Algo : WoltLab BB3 - by atom - 05-16-2012, 10:14 AM
RE: Algo : WoltLab BB3 - by atom - 06-26-2010, 02:58 PM
RE: Algo : WoltLab BB3 - by Xanadrel - 06-26-2010, 02:59 PM
RE: Algo : WoltLab BB3 - by halfie - 05-15-2012, 07:59 AM
RE: Algo : WoltLab BB3 - by halfie - 05-21-2012, 09:56 AM
RE: Algo : WoltLab BB3 - by undeath - 05-16-2012, 09:23 AM
RE: Algo : WoltLab BB3 - by halfie - 05-16-2012, 01:04 PM