Is your feature request related to a problem? Please describe.
A virus on a computer can listen to unencrypted RPC traffic and an attacker can steal Bitcoins even from an encrypted wallet
Describe the solution you'd like
It is necessary to implement support for encrypted public key RPC calls in Bitcoin Core as it done in the https protocol