590
Google Messages just flicked the switch on end-to-end encryption for all RCS and group chats
(chromeunboxed.com)
You should check out the OpenNic project, which is an organization that has already attempted what you're describing.
It's the default SMS application on Pixel devices.