Encryptor class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
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