类 SIM2Encryptor
java.lang.Object
cn.zhxu.toys.cipher.SimpleEncryptor
cn.zhxu.toys.cipher.SIM2Encryptor
- 所有已实现的接口:
Encryptor
简单加密算法 2
- 从以下版本开始:
- 0.4.6
- 作者:
- Troy.Zhou
-
字段概要
从类继承的字段 cn.zhxu.toys.cipher.SimpleEncryptor
secret -
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
SIM2Encryptor
public SIM2Encryptor() -
SIM2Encryptor
public SIM2Encryptor(byte[] secret) -
SIM2Encryptor
-
-
方法详细资料
-
doInit
protected void doInit(byte[] secret) - 覆盖:
doInit在类中SimpleEncryptor
-
encrypt
public byte[] encrypt(byte[] secretBytes, byte[] plainBytes) 从接口复制的说明:Encryptor加密- 指定者:
encrypt在接口中Encryptor- 覆盖:
encrypt在类中SimpleEncryptor- 参数:
secretBytes- 密钥plainBytes- 明文- 返回:
-