This function should sign and encrypt the message passed, to the specified user. Then it should pass the encrypted data in JSON format to the callback function, ready to send.
This should be called by a client whenever a message is to be sent to a secure room.
This function should sign and encrypt the message passed, to the specified user. Then it should pass the encrypted data in JSON format to the callback function, ready to send.
This should be called by a client whenever a message is to be sent to a secure room.