EncryptUtil class

Encrypt Util.

Constructors

EncryptUtil()

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 散列计算
encodeSha512(String data) String
sha512 散列计算
xorBase64Decode(String res, String key) String
异或对称 Base64 解密
xorBase64Encode(String res, String key) String
异或对称 Base64 加密
xorCode(String res, String key) String
异或对称加密