• About
  • Trade
  • Science
  • Eclipse
  • Software
  • Infoq
  • T
  • Projects
  • Contact
  • Thinks
  • | Log in |

    得给数据加个密

    2007年01月12日 PM 32:23 | 作者:summer

    RSA/ECB/PKCS1Padding means RSA en/decryption with padding as defined in PKCS#1 1.5 where the padding block type is automatically selected based on the type of key used (block type 1 for signature operations, block type 2 for encryption operations). This cipher will be always used the same way (other methods need not to be implemented!):

    上面这句话描述了加密时所使用的算法,填充标准,以及加密模式

    加密模式:
    一般来说有四种对称加密算法模式,分别是电子密码本模式(ECB)、加密块链模式(CBC)、加密反馈模式(CFB)和输出反馈模式(OFB),针对于3DES类似的改进算法,又衍生出两种加密模式,分别是Triple ECB模式(ECB3)和Triple CBC模式(CBC3)。

    对数据加密都是分块进行的,如何分块,每块如何加密即上面所说的加密模式。

    发表评论

    *必填

    *必填 (不会被公开)