Implemented database encryption of message content and max content length enforcement with a variable length setting in the config