This is my own interface/implementation of an encapsulation mechanism for authenticated asymmetric encryption. Based on ChaCha20-Poly1305
It is not advisable to use your own cryptography for production environments, you're better off using an open source well tested framework, but if you need something custom and you're brave. Here it goes!