-
-
方法概要
byte[]
byte[]
encrypt(byte[] secretBytes,
byte[] plainBytes)
void
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
ZLEncryptor
public ZLEncryptor()
-
方法详细资料
-
-
encrypt
public byte[] encrypt(byte[] plainBytes)
加密
- 指定者:
encrypt 在接口中 Encryptor
- 参数:
plainBytes - 明文
- 返回:
-
encrypt
public byte[] encrypt(byte[] secretBytes,
byte[] plainBytes)
加密
- 指定者:
encrypt 在接口中 Encryptor
- 参数:
secretBytes - 密钥
plainBytes - 明文
- 返回:
-
-