QSL4A Documentation of encryptString  <QSL4A API Menu>
encryptString( srcString )
Encrypt a Normal / Base64 String to another Base64 String ,
needs to run droid.cipherInit first .
srcString (String)
return Encrypted Base64 String

===== ===== ===== =====
Example :

>>> from androidhelper import *
>>> droid = Android()
>>> droid.cipherInit('1234567890abcdef',encodingFormat='gbk')
Result(id=1, result=None, error=None)
>>> a = droid.encryptString('天气不错')
>>> a # Encryption Result will be different because of Random Initial Vector
Result(id=2, result='EBJ19Nvp4z1Ldo/jTtTn+A==\n', error=None)
>>> b = droid.decryptString(a.result)
>>> b
Result(id=3, result='天气不错', error=None)
===== ===== ===== =====