we already have some provider for integrating other clouds like Google Drive, or amazon Object store. However what borthered me about these are not encrypted. mega.nz encrypts fully. They provide, and they provide a php interface to connect to their cloud:
However this interface is more or less a wrapper for their c++ sdk. So if mega.nz support should be included into owncloud it would only be possible if there was some docker container running the c++ part, like colabora office is doing it.