EncryptUtil class
Encrypt Util.
Constructors
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解密
-
encodeBase64(
String data) → String - Base64加密
-
encodeMd5(
String data) → String - md5 加密
-
encodeSha1(
String data) → String - sha1 加密
-
encodeSha256(
String data) → String - sha256 加密
-
xorBase64Decode(
String res, String key) → String - 异或对称 Base64 解密
-
xorBase64EnCode(
String res, String key) → String - 异或对称 Base64 加密
-
xorCode(
String res, String key) → String - 异或对称加密