Skip to main content

end-to-end-encryption

Most data in Misakey is encrypted in an end-to-end fashion, meaning that Misakey does not have the decryption key. At the moment there are two encryption algorithms supported:

  • com.misakey.nacl-enc is the preferred algorithm, based on the NaCl specification. It is not yet described in this documentation but since it is implemented in the Misakey SDK you shouldn't have to implement it yourself (contact us if you do).

  • com.misakey.aes-rsa-enc is designed for platforms that don't have access to an implementation of NaCl and cannot run our SDK.

Note that public keys for AES-RSA encryption are easily recognizable since they have a com.misakey.aes-rsa-enc: prefix. Keys without a prefix are for the com.misakey.nacl-enc algorithm.