- java.lang.Object
- 
- cn.mcres.karlatemp.mxlib.encrypt.XOREncryptor
 
- 
- 所有已实现的接口:
- Encryptor,- Encryptor.Decoder,- Encryptor.Encoder
 
 public class XOREncryptor extends Object implements Encryptor, Encryptor.Decoder, Encryptor.Encoder 
- 
- 
嵌套类概要- 
从接口继承的嵌套类/接口 cn.mcres.karlatemp.mxlib.encrypt.EncryptorEncryptor.Decoder, Encryptor.Encoder
 
- 
 - 
构造器概要构造器 构造器 说明 XOREncryptor(@org.jetbrains.annotations.NotNull byte[] pwd)
 - 
方法概要修饰符和类型 方法 说明 static XOREncryptorcreate(@org.jetbrains.annotations.NotNull byte[] pwd, int level)byte[]decode(byte[] b)byte[]encode(byte[] data)Encryptor.DecodergetDecoder()Encryptor.EncodergetEncoder()intgetLevel()booleanisSupportDecoder()booleanisSupportEncoder()- 
从接口继承的方法 cn.mcres.karlatemp.mxlib.encrypt.Encryptor.Decoderdecode, decodeToString, decodeToString
 - 
从接口继承的方法 cn.mcres.karlatemp.mxlib.encrypt.Encryptor.Encoderencode, encodeToString, encodeToString
 
- 
 
- 
- 
- 
方法详细资料- 
createpublic static XOREncryptor create(@NotNull @org.jetbrains.annotations.NotNull byte[] pwd, int level) 
 - 
getLevelpublic int getLevel() 
 - 
encodepublic byte[] encode(byte[] data) throws EncryptException- 指定者:
- encode在接口中- Encryptor.Encoder
- 抛出:
- EncryptException
 
 - 
decodepublic byte[] decode(byte[] b) throws EncryptException- 指定者:
- decode在接口中- Encryptor.Decoder
- 抛出:
- EncryptException
 
 - 
getEncoderpublic Encryptor.Encoder getEncoder() - 指定者:
- getEncoder在接口中- Encryptor
 
 - 
getDecoderpublic Encryptor.Decoder getDecoder() - 指定者:
- getDecoder在接口中- Encryptor
 
 - 
isSupportEncoderpublic boolean isSupportEncoder() - 指定者:
- isSupportEncoder在接口中- Encryptor
 
 - 
isSupportDecoderpublic boolean isSupportDecoder() - 指定者:
- isSupportDecoder在接口中- Encryptor
 
 
- 
 
-