能力值:
( LV2,RANK:10 )
|
-
-
[求助]加解密算法
加密分两种:
对称密码算法: 利用转换,置换等运算达到加密目的.目前最常用的是AES加密算法.
非对称密码算法:利用某些数学难题达到加密目的.目前最常用的是RSA, ECC等公钥算法.
这些算法的具体实现过程都很容易找到.具体应用也可以参考我总结的这个.
http://blog.csdn.net/A00553344/archive/2009/03/18/4002507.aspx
http://blog.csdn.net/A00553344/archive/2009/01/07/3730194.aspx 至于自己要实现加密算法的想法,我觉的还是算了.这些公开的算法都是千锤百炼的,安全上是没任何问题的.
自己实现算法,经常会有很多漏洞而不是自己能觉察的到的.个人意见,仅供参考.
|
能力值:
( LV2,RANK:10 )
|
-
-
|