Encryption extension

Encryption string extension.

on

Methods

decryptMyData(String _key, String iv) String?
  • Info: Decrypting the data.
  • Params: _key is is Key String, iv is IV String.
  • Returns: String?
  • Notes: Key length must be == 32 , IV length must be == 16.
  • encryptMyData(String _key, String iv) String?
  • Info: Encyrpting the data.
  • Params: _key is is Key String, iv is IV String.
  • Returns: String?
  • Notes: Key length must be == 32 , IV length must be == 16.