EncryptUtils class

加密和解密工具类

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 加密字符串
encodeMd5File(File file) → String
md5 加密file
xorBase64Decode(String res, String key) → String
异或对称 Base64 解密
xorBase64Encode(String res, String key) → String
异或对称 Base64 加密
xorCode(String res, String key) → String
异或对称加密