RayGun manages messaging users in the application. RayGun depends on an underlying decentralized storage protocol to operate. On its own RayGun is simply an interface with some core functionality bound to caching and key management. Messages should ALWAYS be encrypted when using RayGun, if they are not encrypted by the underlying protocol we should be sure to enable the secure
flag in RayGun to enable ECDH (Elliptic Curve Diffie Helman) encryption provided by RayGun. This will generate a shared secret for usage between two users in P2P chat. For group messages where there are many recipients AES, symmetric encryption is used. You can enable this flag regardless but it may be pointless if your underlying protocol already supports encryption.