Encryption is primarily used to safeguard the contents of a message so that only the intended recipient can read it. This is done by replacing the message content with unrecognizable data, which could be understood only by the intended recipient. This is how encryption became a method to protect data from those who might want to steal it.
Encryption can be used in two situations:
- Encryption in Transit.
- Encryption at Rest (EAR).
Encryption in Transit
This refers to data that is encrypted when it is in transit, including from your browser to the web server and other third parties via integrations. Encrypting data in transit protects your data from man-in-the-middle-attacks.
Encryption at Rest
This refers to data that is encrypted when it is stored (not moving), either on a disc, in a database, or some other form of media. In addition to encrypting data during transit, encryption of data when it is stored in the servers provides an even higher level of security. EAR protects against any possible data leak due to server compromise or unauthorized access.
Encryption is done at the application layer using the AES-256 algorithm, which is a symmetric encryption algorithm and uses 128-bit blocks and 256-bit keys. The key used to convert the data from plain text to cipher text is called Data Encryption Key (DEK). The DEK is further encrypted using the Key Encryption Key (KEK), thus providing yet another layer of security. These keys are generated and maintained by our in-house Key Management Service (KMS).
What data do we encrypt in Cliq?
We use Encryption at Rest in Cliq to protect:
- Chat titles, messages, and attachments
- Custom fields (optional)
- Starred messages
- Call recordings
In addition to application-layer encryption, full-disk encryption is available in our India (IN), Australia (AU), and Japan (JP) datacenters.