M2PEncryptAndDecrypt class

Constructors

M2PEncryptAndDecrypt.new()

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

getPlatformVersion() Future<String?>
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 Properties

iv → IV
final

Static Methods

getEncryptModel({required String encryptedKey, required String encryptedPayload}) Future<Map<String, dynamic>>
requestEncryption({required Map<String, dynamic> request}) Future<Map<String, dynamic>>
toDecryptAES({required String encryptedText, required String aesKey}) String
toDecryptRSA({required String encryptedText}) Future<String>
toEncryptAES({required String rawText, required String key}) String
toEncryptRSA({required String rawText}) Future<String>