Skip to main content

shouldEncrypt property

bool shouldEncrypt

getter/setter pair

A global switch to flag the encryption.

Since adding encryption invalidates all of the previous data, disabling it by default will help in keeping other contributors working without any issue. TODO: Remove this and make encryption default.

Implementation

static bool shouldEncrypt = false;
  1. talawa
  2. encryptor
  3. Encryptor
  4. shouldEncrypt property
Encryptor class