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-encis 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-encis 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