EncrypterUtil 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
-
aesDecrypt(
String key, String data) → String? -
aes解密
key长度为32的密钥data需要解密的base64内容 -
aesEncrypt(
String key, String data) → String? -
aes加密
key长度为32的密钥data需要加密的内容 -
aesRsaDecrypt(
String aesEncryptKey, String publicKey, String data) → String? -
AES+RSA混合加密
aesKey加密之后的aes的keypublicKeyRsa的公钥data需要解密的内容 -
aesRsaEncrypt(
String aesKey, String publicKey, String data) → Map< String, String> ? -
AES+RSA混合解密
aesKey长度为32的AES的密钥publicKeyRsa的公钥data需要加密的内容 -
fullStrTo16(
String str) → String - 字符串长度不是16的倍数时补充完整
-
getAesKey(
) → String -
rsaDecrypt(
String publicKey, String data) → String? -
rsa解密
publicKeyrsa 公钥data需要解密的base64内容 -
rsaEncrypt(
String publicKey, String data) → String? -
rsa加密
publicKeyrsa 公钥data需要加密的内容