public class PKCS7Encoder extends Object
提供基于 PKCS7 算法的加解密
PKCS7Encoder()
static char
chr(int a)
static byte[]
decode(byte[] decrypted)
encode(int count)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public PKCS7Encoder()
public static byte[] encode(int count)
获得对明文进行补位填充的字节
count
public static byte[] decode(byte[] decrypted)
删除解密后明文的补位字符
decrypted
public static char chr(int a)
将数字转化成ASCII码对应的字符,用于对明文进行补码
a