RSAUtil class
RSA工具类
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- k ↔ dynamic
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
String content) → String - 解密
-
encode(
String content) → String - 加密
-
init(
String key) → Future - 初始化
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
String content) → String - 签名
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
String content, String signature) → bool - 验签
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
) → RSAUtil - 工厂方法