类 BlowfishActuator
- java.lang.Object
-
- cn.mcres.gyhhy.MXLib.encode.BlowfishActuator
-
- 所有已实现的接口:
Actuator,Actuator.Decoder,Actuator.Encoder,SymmetricActuator,Encryptor,Encryptor.Decoder,Encryptor.Encoder,SymmetricEncryptor
public class BlowfishActuator extends Object implements SymmetricActuator, Actuator.Decoder, Actuator.Encoder
- 作者:
- 32798
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 cn.mcres.gyhhy.MXLib.encode.Actuator
Actuator.Decoder, Actuator.Encoder
-
从接口继承的嵌套类/接口 cn.mcres.karlatemp.mxlib.encrypt.Encryptor
Encryptor.Decoder, Encryptor.Encoder
-
-
构造器概要
构造器 构造器 说明 BlowfishActuator(byte[] password)BlowfishActuator(String password)
-
方法概要
修饰符和类型 方法 说明 byte[]decode(byte[] b)byte[]decode(String data)StringdecodeToString(byte[] data)StringdecodeToString(String data)StringdecryptString(String sCipherText)voiddestroy()byte[]encode(byte[] b)byte[]encode(String b)StringencodeToString(byte[] b)StringencodeToString(String b)StringencryptString(String sPlainText)BlowfishActuatorgetDecoder()BlowfishActuatorgetEncoder()booleanisSupportDecoder()booleanisSupportEncoder()
-
-
-
构造器详细资料
-
BlowfishActuator
public BlowfishActuator(byte[] password)
-
BlowfishActuator
public BlowfishActuator(String password)
-
-
方法详细资料
-
destroy
public void destroy()
-
decode
public byte[] decode(byte[] b) throws DecodeException- 指定者:
decode在接口中Actuator.Decoder- 指定者:
decode在接口中Encryptor.Decoder- 抛出:
DecodeException
-
decode
public byte[] decode(String data) throws DecodeException
- 指定者:
decode在接口中Actuator.Decoder- 指定者:
decode在接口中Encryptor.Decoder- 抛出:
DecodeException
-
decodeToString
public String decodeToString(String data) throws DecodeException
- 指定者:
decodeToString在接口中Actuator.Decoder- 指定者:
decodeToString在接口中Encryptor.Decoder- 抛出:
DecodeException
-
decodeToString
public String decodeToString(byte[] data) throws DecodeException
- 指定者:
decodeToString在接口中Actuator.Decoder- 指定者:
decodeToString在接口中Encryptor.Decoder- 抛出:
DecodeException
-
encodeToString
public String encodeToString(byte[] b) throws EncodeException
- 指定者:
encodeToString在接口中Actuator.Encoder- 指定者:
encodeToString在接口中Encryptor.Encoder- 抛出:
EncodeException
-
encodeToString
public String encodeToString(String b) throws EncodeException
- 指定者:
encodeToString在接口中Actuator.Encoder- 指定者:
encodeToString在接口中Encryptor.Encoder- 抛出:
EncodeException
-
encode
public byte[] encode(byte[] b) throws EncodeException- 指定者:
encode在接口中Actuator.Encoder- 指定者:
encode在接口中Encryptor.Encoder- 抛出:
EncodeException
-
encode
public byte[] encode(String b) throws EncodeException
- 指定者:
encode在接口中Actuator.Encoder- 指定者:
encode在接口中Encryptor.Encoder- 抛出:
EncodeException
-
getEncoder
public BlowfishActuator getEncoder()
- 指定者:
getEncoder在接口中Actuator- 指定者:
getEncoder在接口中Encryptor
-
getDecoder
public BlowfishActuator getDecoder()
- 指定者:
getDecoder在接口中Actuator- 指定者:
getDecoder在接口中Encryptor
-
isSupportEncoder
public boolean isSupportEncoder()
- 指定者:
isSupportEncoder在接口中Actuator- 指定者:
isSupportEncoder在接口中Encryptor
-
isSupportDecoder
public boolean isSupportDecoder()
- 指定者:
isSupportDecoder在接口中Actuator- 指定者:
isSupportDecoder在接口中Encryptor
-
-