I ran into this issue, I couldn&#x27;t encrypt really large strings so I chunked the plain text.  Not sure why that is the case.  I would consider doing something like what you suggest, though I&#x27;m not sure exactly how I&#x27;d implement it.  If you&#x27;re interested in showing me how, I&#x27;d love to collaborate on some code with you (start an issue! <a href="https:&#x2F;&#x2F;github.com&#x2F;sadasystems&#x2F;private-message&#x2F;issues" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sadasystems&#x2F;private-message&#x2F;issues</a>)