本帖最后由 clintonus 于 2011-05-17 14:23:10 编辑

解决方案 »

  1.   

    You can do some mesh up to your user name and password, such as xor them with 0xFFFFFFFF so that you only save the hashed version in your code segment. Although people still could figure it out by tracing through your assembly code, at least that is better than nothing.
      

  2.   

    这个xor怎么写呢?
    比如我密码是...value="aaa",那写成 ...value="aaa" or "0xFFFFFFFF"么?
    谢谢!
      

  3.   

    不使用明文的字符串
    //不过,如果用OllyDbg等运行时跟踪的话,仍然可以在堆栈中看到
      

  4.   

    给你个参考。骑士很简单。
    xor 是做异或运算的,你把十进制换算成2进制然后再异或(这里是按位异或),比如1000(2进制的8)0010(2进制的2)做异或就是1010(同值为0异值为1---每位对齐)所有 你先要在quick模式做个xor 得到结果。
    在你需要的地方 直接= 用上面的 结果 xor 一次返回值 
      

  5.   


    老马不去逛 pediy吗,不知道看雪?用软加密这种龌龊的方式麻痹自己,不如把软件弄好了,弄价值高点弄硬加密.