All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dahuatech.hutool.crypto.Padding Maven / Gradle / Ivy

There is a newer version: 1.0.13.10
Show newest version
package com.dahuatech.hutool.crypto;

/**
 * 补码方式
 *
 * 

补码方式是在分组密码中,当明文长度不是分组长度的整数倍时,需要在最后一个分组中填充一些数据使其凑满一个分组的长度。 * * @author Looly * @see * Cipher章节 * @since 3.0.8 */ public enum Padding { /** 无补码 */ NoPadding, /** 0补码,即不满block长度时使用0填充 */ ZeroPadding, ISO10126Padding, OAEPPadding, PKCS1Padding, PKCS5Padding, SSL3Padding }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy