Encryptor class

Constructors

Encryptor()

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

decrypt(String key, String encrpytedPharse) String
decrypt the plainText with user key and random iv and return plain Text if will encryption randomIV is passed than make sure to pass the same randomIV to decrypt.
encrypt(String key, String plainText) String
encrypt the plainText with user key and random iv and return encryted text