EncryptUtils class

加密和解密工具类

Constructors

EncryptUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decodeBase64(String data) String
Base64解密字符串
encodeApiPath(String data) String
对ApiPath进行加密 1、base64 2、转16进制 3、前面加3位随机数字(1-9)
encodeBase64(String data) String
Base64加密字符串
encodeMd5(String data) String
md5 加密字符串
encodeMd5File(File file) String
md5 加密file
encodeMd5ForJJ(String data) String
xorCode(String res, int key) String
异或加密
xorCodeForJJ(String res) String
异或加密(JJ异或)