首页
社区
课程
招聘
[旧帖] [求助]- -!算法求解。绝对符合大牛的胃口 0.00雪花
发表于: 2010-5-13 20:52 3671

[旧帖] [求助]- -!算法求解。绝对符合大牛的胃口 0.00雪花

2010-5-13 20:52
3671
nhJbOP7q8ChYXf51vf0gHaNOvNfytxaWvvq7FrggUNUoly/J9WZL/Ilukh/ofE|k8cMmx5Jmtk1QmIINJHmqAOKqmrU4zoljUCsbHxcS2eXFcjfZJRCFbxXfuD523zaZOQ3jtafdc7ofVkYOHl|ustGV/eyr1lAmauTf0qCNEsoZv|foBGVjkxfCChn3arl1KZLhtObHWywdLOgiMSe4ncrdC9pbFjrm3jtZlHJFmHW62G8pJ2WWAaktnv68Fa3VUo5icauWsuSLg98reNvSe4BN9dfZoeTT3NWlaWDIasg8H4ef91s0KPutZu5LW42xjVPRSuOXk|vOmxEzVUt0pMTBAWbH0/2kRnbkz0tjs9XrwOKqEmqic76TWSeFI/TTVRLfrN1nj|n6D1T8iKxNQBG50EU4niUYHu3QVvAW8CrOvyjWAOyiSJ4l44OYTTRlQFZiCBm/oQlY8AZpZImExIeEG30EUQHwccpkTPOMoCPfryfqVJUxmX0qcpK5HYFdMG/PT5Yt7/Mp6oGXU9pD9/WAnB5RBJIO9MP2XCvvF2UznaPgE13p71oDrAA=
skczRCSssZqGNmG/IXxJIEvOghWPvjgiJTdspo/WuvrKFQQVCeKearCqo4eoMQoszZFuVtUeMZ1RLNa3EoQPBjCNrvmzv7Gz3Ib/Vw1aRYcGTzdItO9qEywaZz0pX8ZICrFaKNtnYh8inQEQQe7sJuX4LS54Dbc2B9QzXRSOxMbk1t0lNL//R9QSC7mqTOFMFTlAdJ|xZRPoOgRdg63qoZiJF3i69indERcRvGErcyUetrRH6JSyiBkjiBIAGmmgpkMRVdAl7DOcugZ8LgvzDyk6tZJvSUZwxgy68OvGWUcOfX3ZfvEpzmEJsAj1qSdAYOmKDOsF4a19gLrWQqXR5iI/iolRE/BQ0H95frqgxnX7U3S7Agvv5Q/8VUyUZsHKsHVHr9u7JHPX8U8|Yourd416QbV9EEKpheuTGL7fxPBWbm7Fa7S|dvsemD|vhRExA/K2mMkEorEEZYXNTDhNTyeyZ6vEnUDKtv6MnpuCTPEzzL0Pzom1A6LdcPpyXDGRqU/9hMdcByZNqmLHYyxA4l1kvHVao|5KB/N5WsuQ|vSCyFI8c|PgyNl9dhk=
4k7Gj8EpDWDig0uu361/nS/CPFOjKxcMhVqVC305BZ4U9hXFnNbRsBwkYjpeI6KsoeXLzreFVLBG2E5tN4msUznfcpVpmdjdiHEnw2vHLVDXnAyqj3Jzc7/adHMQYT8jSFcHSkdvflLl39dfyJZX4UyT1zDwXJIj|Qsir1J3bhEdEyx7vytijmzvTksbSfqUQlBO9gnq7n0Xmrsrgk0oFPxnTTcIcd0KWmA|u826SiMgThkG4I1aHQMu6CWdxrSvy5mRnBPz|FTX6KShtPXW2UJGCauJzhv8Lzyd9D2m2KQGn83pKYq6sLw8OMarHbjEWBIutzQJC9kXr8Uokov5ICAJZMrkxNHsdeTtgeyRQ8L8wmruaNr7JxNbxdzscODPSAIAgVHi29A4FfXJt4iqSWuhYEjq1jbpWAss/VpgKdvjYG|JQ74uwUw/Quxb1S31ky1ngwCMXgwIUll0QkkfHJbWYgApVaViyRAdAISItpJHitSH0MdKfVxxqNqBcNXY/q9MGo6mHozmFjBqfESWiI1zdY2HtO6CWnQuHOVCcKyBU2f3MztBVg==

以上是同一字符串经过相同的加密生成的 三个完全不同的 字符串  附件附上 加密用的php文件

求一个解密方法。。。

附上 VC 的 加密函数

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

上传的附件:
收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 67
活跃值: (30)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
this.decrypt = function(string, key) {
        if (string == "") {
            return "";
        }
        string = xxtea_decrypt(string);
        var v = stringToLongArray(string, false);
        var k = stringToLongArray(key, false);
        if (k.length < 4) {
            k.length = 4;
        }
        var n = v.length - 1;

        var z = v[n - 1], y = v[0];
        var mx, e, p, q = Math.floor(6 + 52 / (n + 1)), sum = q * delta & 0xffffffff;
        while (sum != 0) {
            e = sum >>> 2 & 3;
            for (p = n; p > 0; p--) {
                z = v[p - 1];
                mx = (z >>> 5 ^ y << 2) + (y >>> 3 ^ z << 4) ^ (sum ^ y) + (k[p & 3 ^ e] ^ z);
                y = v[p] = v[p] - mx & 0xffffffff;
            }
            z = v[n];
            mx = (z >>> 5 ^ y << 2) + (y >>> 3 ^ z << 4) ^ (sum ^ y) + (k[p & 3 ^ e] ^ z);
            y = v[0] = v[0] - mx & 0xffffffff;
            sum = sum - delta & 0xffffffff;
        }

        return toUTF16(longArrayToString(v, true));
    }

这段不就是解密的函数吗?你是想要个C语言版本的解密函数?还是想分析一下这个加密算法啊?
2010-5-15 21:42
0
雪    币: 15
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
解密不出的!!
2010-5-25 19:54
0
游客
登录 | 注册 方可回帖
返回
//