Page 2 of 2

Re: Hidden activators

Posted: February 17th, 2020, 6:41 pm
by 1vann
Here little script i wrote(python)

Code: Select all

def hash_breaker(h):
    for b in range(100):
        for c in range(100):
            a = h
            for i in [-15, 10, -3, -5, 16, -12, -13, 8, -13]:
                a, b, c = b, c, ((a ^ (b << i if i > 0 else (b & 0xFFFFFFFF) >> -i)) + b + c) & 0xFFFFFFFF

            l = a & 0xFF
            if l != 11:
                continue
            a1 = ((a - l) >> 8 & 0xFFFFFFFF).to_bytes(3, "little")
            b1 = ((b - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little")
            c1 = ((c - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little")
            s = c1 + b1 + a1

            ex = False
            for i in s:
                if 97 <= i <= 122 or i == 47 or i == 0:
                    ex = True
                    break
            if ex:
                continue

            return s

Hidden activator(collision) is

Code: Select all

`!|VAQ

Re: Hidden activators

Posted: March 7th, 2020, 10:20 pm
by owner123
Thanks for posting your implementation. It's great. I made one too for fun, found this collision as well: ac3w2w7

Re: Hidden activators

Posted: March 31st, 2024, 6:23 pm
by test33
1vann wrote:Here little script i wrote(python)

Code: Select all

def hash_breaker(h):
    for b in range(100):
        for c in range(100):
            a = h
            for i in [-15, 10, -3, -5, 16, -12, -13, 8, -13]:
                a, b, c = b, c, ((a ^ (b << i if i > 0 else (b & 0xFFFFFFFF) >> -i)) + b + c) & 0xFFFFFFFF

            l = a & 0xFF
            if l != 11:
                continue
            a1 = ((a - l) >> 8 & 0xFFFFFFFF).to_bytes(3, "little")
            b1 = ((b - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little")
            c1 = ((c - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little")
            s = c1 + b1 + a1

            ex = False
            for i in s:
                if 97 <= i <= 122 or i == 47 or i == 0:
                    ex = True
                    break
            if ex:
                continue

            return s
Hidden activator(collision) is

Code: Select all

`!|VAQ
Script doesn't seam to work for me, trying to crack 836025351 would result in bytes 62 27 3d 5c 78 30 34 5c 78 62 61 56 7d 5e 5c 78 62 34 3c 5c 78 63 33 5c 78 62 30 5c 78 39 65 27

Re: Hidden activators

Posted: April 14th, 2024, 4:16 am
by devoltz
test33 wrote:Script doesn't seam to work for me, trying to crack 836025351 would result in bytes 62 27 3d 5c 78 30 34 5c 78 62 61 56 7d 5e 5c 78 62 34 3c 5c 78 63 33 5c 78 62 30 5c 78 39 65 27
Try using JAST stringhash break thing