ScpCrypto 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
-
decodeThenDecrypt(String key, String base64nonce, String base64mac, String base64Text, int payloadLength)
→ Future<String>
-
-
decryptMessage(List<int> key, List<int> nonceBytes, List<int> macBytes, List<int> encryptedText)
→ Future<String>
-
-
encryptMessage(String key, String plainText)
→ Future<EncryptedPayload>
-
-
encryptThenEncode(String key, String message)
→ Future<ScpJson>
-
-
generatePassword()
→ String
-
-
hexToBytes(String hexStr)
→ Uint8List
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
strip0x(String hex)
→ String
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
verifyHMAC(String content, String hmac, String password)
→ Future<bool>
-