Advances to Homomorphic and Searchable Encryption