求c,c++ 3-DES源码

解决方案 »

  1.   

    c:  www.openssl.org
    c++: http://www.eskimo.com/~weidai/cryptlib.html
      

  2.   

    VC:http://openssl.cn/default.asp 
    OR http://openssl.cn/download.asp
      

  3.   

    openssl:DES_3cbc_encrypt() is flawed and must not be used in applications.
      

  4.   

    to:masterz(www.fruitfruit.com)
    我要用的是电信的计费接口,我手头有基于Wei Dai原码的组件,比较繁琐
    事实上编码中要使用的也就是:Base64,SHA1,3DES,唯有DES说的是标准,感觉上并不标准
    因为SecretKey可能是8、16、24....字节
    我的平台提供商给的就是24字节如果不调用组件,性能要好很多,因为也就这么几个函数而已,封装一个小类就可以了
    以后还可能要使用