存档

2007年1月12日 的存档

得给数据加个密

2007年1月12日 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)。

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

分类: 观察 标签: