EncryptUtil class Null safety

加密工具类

another Fairy

# https://github.com/dart-lang/crypto
crypto: ">=3.0.0 <5.0.0"

# https://github.com/dart-lang/convert
convert: ">=3.0.0 <5.0.0"

Constructors

EncryptUtil()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 加密
xorBase64Decode(String res, String key) String
异或对称 Base64 解密
xorBase64Encode(String res, String key) String
异或对称 Base64 加密
xorCode(String res, String key) String
异或对称加密