def discombobulate(self, filehash):
        """ prepare napiprojekt scrambled hash """

        idx = [0xe, 0x3, 0x6, 0x8, 0x2]
        mul = [2, 2, 5, 4, 3]
        add = [0, 0xd, 0x10, 0xb, 0x5]

        b = []
        for i in xrange(len(idx)):
            a = add[i]
            m = mul[i]
            i = idx[i]

            t = a + int(filehash[i], 16)
            v = int(filehash[t:t + 2], 16)
            b.append(("%x" % (v * m))[-1])

        return ''.join(b)
prepare napiprojekt scrambled hash