resetEncryptionKey method

A static method to regenerate the key along with the database i.e.

Syntax

+ ( NSString * ) resetEncryptionKey

Returns

NSString* it returns a newly created 128-bit encryption key.
Usage

Remarks

by calling this method the DB that exists on the mobile client will be removed and a new DB with a newly created unique 128-bit encryption key will be generated. After the invocation of this method the newly generated key should be stored by the MAF or application again by removing the old key.